/* style/login.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Navy Blue */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f8f8;
    --background-dark: #1a1a2e;
    --border-color: #e0e0e0;
}

.page-login {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.page-login .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-login .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: var(--background-dark);
    color: var(--text-light);
}

.page-login .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-login .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-login .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-login .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image slightly */
}

.page-login .hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-login .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-login .hero-content p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .hero-content p a:hover {
    text-decoration: underline;
}

/* CTA Button */
.page-login .cta-button, .page-login .btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login .cta-button:hover, .page-login .btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-login .btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-login .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Login Form Section */
.page-login .login-form-section {
    background-color: var(--background-light);
    padding: 80px 0;
    text-align: center;
}

.page-login .login-form-section h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.page-login .login-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.page-login .login-form-image {
    width: 45%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-login .login-form {
    width: 50%;
    text-align: left;
}

.page-login .form-group {
    margin-bottom: 25px;
}

.page-login .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1.1em;
}

.page-login .form-group input[type="text"],
.page-login .form-group input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login .form-group input[type="text"]:focus,
.page-login .form-group input[type="password"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    outline: none;
}

.page-login .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.page-login .forgot-password-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.page-login .forgot-password-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-login .register-prompt {
    margin-top: 30px;
    font-size: 1em;
    color: var(--text-dark);
}

.page-login .register-prompt a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .register-prompt a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Why Login Section */
.page-login .why-login-section {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-login .why-login-section h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.page-login .why-login-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-login .why-login-section p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .why-login-section p a:hover {
    text-decoration: underline;
}

.page-login .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login .feature-item {
    background: #ffffff;
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-login .feature-item h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-login .feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-login .feature-item p {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 0;
}

.page-login .feature-item p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .feature-item p a:hover {
    text-decoration: underline;
}

/* Guide Section */
.page-login .guide-section {
    background-color: var(--background-light);
    padding: 80px 0;
    text-align: center;
}

.page-login .guide-section h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.page-login .guide-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-login .guide-section p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .guide-section p a:hover {
    text-decoration: underline;
}

.page-login .login-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-login .login-steps li {
    background: #ffffff;
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: left;
    padding-left: 80px;
}

.page-login .login-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-login .login-steps li h3 {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-login .login-steps li p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 0;
}

.page-login .login-steps li p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .login-steps li p a:hover {
    text-decoration: underline;
}

/* Troubleshooting Section */
.page-login .troubleshooting-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-login .troubleshooting-section h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.page-login .troubleshooting-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-login .troubleshooting-section p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .troubleshooting-section p a:hover {
    text-decoration: underline;
}

.page-login .troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-login .troubleshooting-item {
    background: #ffffff;
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-login .troubleshooting-item h3 {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-login .troubleshooting-item p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 0;
}

.page-login .troubleshooting-item p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .troubleshooting-item p a:hover {
    text-decoration: underline;
}

/* CTA Register Section */
.page-login .cta-register-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
}

.page-login .cta-register-section h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.page-login .cta-register-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-login .cta-register-section p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .cta-register-section p a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-login .faq-section {
    background-color: var(--background-light);
    padding: 80px 0;
}

.page-login .faq-section h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
}

.page-login .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-login .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.page-login .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-login .faq-question:hover {
    background: #f5f5f5;
}

.page-login .faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--secondary-color);
}

.page-login .faq-question h3 a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .faq-question h3 a:hover {
    text-decoration: underline;
}

.page-login .faq-toggle {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-login .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-login .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    background: #fcfcfc;
}

.page-login .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
}

.page-login .faq-answer p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1em;
}

.page-login .faq-answer p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .faq-answer p a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.page-login .final-cta-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-login .final-cta-section h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.page-login .final-cta-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-login .final-cta-section p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-login .final-cta-section p a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-login .hero-content h1 {
        font-size: 2.5em;
    }
    .page-login .login-form-wrapper {
        flex-direction: column;
        padding: 30px;
    }
    .page-login .login-form-image {
        width: 80%;
        margin-bottom: 30px;
    }
    .page-login .login-form {
        width: 100%;
    }
    .page-login .feature-grid, .page-login .troubleshooting-grid {
        grid-template-columns: 1fr;
    }
    .page-login .login-steps li {
        padding-left: 60px;
    }
    .page-login .login-steps li::before {
        width: 35px;
        height: 35px;
        font-size: 1.3em;
        left: 15px;
    }
}

@media (max-width: 768px) {
    .page-login .hero-section {
        padding: 40px 15px;
    }
    .page-login .hero-content {
        margin-top: -60px;
        padding: 15px;
    }
    .page-login .hero-content h1 {
        font-size: 2em;
    }
    .page-login .hero-content p {
        font-size: 1em;
    }
    .page-login .cta-button, .page-login .btn {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-login .login-form-section, .page-login .why-login-section, .page-login .guide-section, .page-login .troubleshooting-section, .page-login .cta-register-section, .page-login .faq-section, .page-login .final-cta-section {
        padding: 50px 0;
    }
    .page-login h2 {
        font-size: 2em;
    }
    .page-login .login-form-wrapper {
        padding: 20px;
    }
    .page-login .form-group label {
        font-size: 1em;
    }
    .page-login .form-group input[type="text"],
    .page-login .form-group input[type="password"] {
        padding: 12px;
    }
    .page-login .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-login .forgot-password-link {
        align-self: flex-start;
    }
    .page-login .feature-item h3, .page-login .troubleshooting-item h3 {
        font-size: 1.3em;
    }
    .page-login .faq-question h3 {
        font-size: 1em;
    }
    .page-login .faq-toggle {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-login .hero-content h1 {
        font-size: 1.8em;
    }
    .page-login .hero-content p {
        font-size: 0.9em;
    }
    .page-login h2 {
        font-size: 1.8em;
    }
    .page-login .login-form-image {
        width: 100%;
    }
    .page-login .login-steps li {
        padding-left: 50px;
    }
    .page-login .login-steps li::before {
        width: 30px;
        height: 30px;
        font-size: 1.2em;
        left: 10px;
    }
    .page-login .feature-item h3, .page-login .troubleshooting-item h3 {
        font-size: 1.2em;
    }
    .page-login .faq-question h3 {
        font-size: 0.95em;
    }
    .page-login .faq-answer p {
        font-size: 0.9em;
    }
}