:root {
    --primary-color: #000080;
    --accent-color: #FFA500;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --blue-button: #0077ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

/* Main Content Styles */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.login-form {
    flex: 1;
    padding: 3rem;
}

.login-image {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.brand-logo {
    width: 60%;
    max-width: 300px;
    height: auto;
}

h1 {
    font-size: 24px;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #666;
}

.password-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: 12px;
    color: var(--primary-color);
    text-decoration: none;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.sign-in-btn {
    width: 100%;
    padding: 0.75rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.sign-in-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 0;
}

.signup-link a {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-link a:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Footer Styles */
footer {
    padding: 1rem 2rem;
    background: white;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-image {
        display: none;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }

    .nav-right {
        display: none;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #333;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 20% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

.modal-content h2 {
    margin-bottom: 2rem;
}

/* Add these to your existing modal styles */
.close-forgot {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.close-forgot:hover {
    color: #333;
}

/* Style for the subtitle in forgot password modal */
.modal-content .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 14px;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.password-requirements {
    margin-top: 30px;
    font-size: 12px;
    color: #666;
}

.password-requirements ul {
    list-style: none;
    padding-left: 10px;
    margin-top: 4px;
}

.password-requirements li {
    margin: 2px 0;
    position: relative;
    padding-left: 25px;
}

.password-requirements li::before {
    content: '✕';
    color: #dc3545;
    position: absolute;
    left: 0;
}

.password-requirements li.valid::before {
    content: '✓';
    color: #28a745;
}

/* Password input group styles */
.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.eye-icon {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.toggle-password:hover .eye-icon {
    opacity: 1;
}

/* Password strength meter styles */
.password-strength {
    margin-top: 8px;
}

.strength-meter {
    height: 100%;
    border-radius: 4px;
    transition: all 0.3s;
    width: 0;
}

.strength-meter.none {
    width: 0;
}

.strength-meter.very-weak {
    width: 20%;
    background-color: #ff4444;
}

.strength-meter.weak {
    width: 40%;
    background-color: #ffbb33;
}

.strength-meter.medium {
    width: 60%;
    background-color: #ffeb3b;
}

.strength-meter.strong {
    width: 80%;
    background-color: #00C851;
}

.strength-meter.very-strong {
    width: 100%;
    background-color: #007E33;
}

.strength-text {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    display: block;
}

.password-strength .error-message {
    display: block;
    margin-top: 8px;
}

.password-requirements {
    margin-top: 12px;
}

/* Privacy Policy Styles */
.privacy-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.privacy-content {
    padding: 1rem;
}

.privacy-content h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 28px;
    text-align: center;
}

.privacy-content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 20px;
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.privacy-content .intro {
    font-size: 16px;
    color: #666;
    margin-bottom: 2rem;
}

.privacy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .privacy-container {
        margin: 1rem;
        padding: 1rem;
    }

    .privacy-content h1 {
        font-size: 24px;
    }

    .privacy-content h2 {
        font-size: 18px;
    }
}

/* Contact form styles */
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.close-contact {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.close-contact:hover {
    color: #333;
}

/* Update modal styles for contact form */
.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.verification-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.verification-container h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.success {
    color: #28a745;
    font-weight: 500;
}

.error {
    color: #dc3545;
    font-weight: 500;
}

/* Update password strength and error message styles */
.password-strength {
    margin-top: 8px;
}

.strength-text {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    display: block;
}

.password-strength .error-message {
    display: block;
    margin-top: 8px;
}

.password-requirements {
    margin-top: 12px;
}

/* Style for error state */
.form-group input.error {
    border-color: #dc3545;
    background-color: #fff;
    box-shadow: 0 0 0 1px #dc3545;
}

/* Position error message next to label */
.form-group .label-error-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.form-group .error-message {
    color: #dc3545;
    font-size: 12px;
    margin: 0;
}

/* Only show password strength and requirements in signup form */
.password-strength,
.password-requirements {
    display: none;
}

.signup-password .password-strength,
.signup-password .password-requirements {
    display: block;
}

/* Error message positioning */
.signup-password .error-message {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Password requirements list */
.password-requirements {
    margin-top: 12px;
    font-size: 12px;
    color: #666;
}

.label-error-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.label-error-container .error-message {
    margin: 0;
    color: #dc3545;
    font-size: 12px;
}

/* Remove the error message margin from password strength div since it's moved */
.password-strength .error-message {
    display: none;
} 