body {
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
    margin: 0;
    padding: 20px;
}
h1 {
    color: #14A800;
    text-align: center;
}
label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
.form-group {
    margin-bottom: 15px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    width: 100%;
    background: #14A800;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background: #108000;
}
.result {
    display: none;
    margin-top: 20px;
}
.section {
    background: #f9f9f9;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border-left: 5px solid #14A800;
    margin-bottom: 2rem;
}
.rating {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #14A800;
    margin-top: 10px;
}
.custom-dropdown select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

.custom-dropdown select:focus {
    border-color: #108a00;
    box-shadow: 0 0 5px rgba(16, 138, 0, 0.5);
}

#analyze {
    position: relative;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #108a00;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#analyze:disabled {
    background-color: #0d7300;
    cursor: not-allowed;
}

.btn-loader {
    border: 3px solid white;
    border-top: 3px solid transparent;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#analysisResult .section ul li {
    padding-bottom: 1rem;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa;
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid #ddd;
}
.footer a {
    color: #007bff;
    text-decoration: none;
}
.footer p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.page-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.container {
    width: 60%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #14A800;
}

.ad-space {
    width: 15%;
    height: 600px;
    background: #f1f1f1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #555;
    border-radius: 8px;
}

.left-ad {
    margin-right: 10px;
}

.right-ad {
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ad-space {
        width: 10%;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .ad-space {
        width: 90%;
        height: auto;
        margin-bottom: 10px;
    }
    .container {
        width: 90%;
    }
}

form#analyzeForm, div#analysisResult {
    padding-bottom: 1rem;
}

#faqSection {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Add pointer cursor to indicate it's clickable */
.faq-toggle {
    cursor: pointer;
    font-weight: bold;
    color: #0073b1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: inline-block;
}
