/* Login Page Styles - DARK MODE */

/* Override body styles specifically for login page */
body.login-page {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


.login-container {
    display: flex;
    min-height: 90vh;
    background: #2d2d2d;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
    /*max-width: 400px;*/
    width: 75%;
    border: 1px solid #3a3a3c;
}

.login-container--signup {
    min-height: auto;
}

.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    color: white;
    /*max-width: 300px;*/
}

.signup-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0rem;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    color: white;
    /* max-width: 300px;*/
}

.login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.login-hero {
    margin-bottom: 5px;
}

.login-hero-image {
    width: 100%;
    height: 60vh;
    border-radius: 12px;
    object-fit: contain;
}

.signup-hero-image {
    width: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.login-title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    font-size: 1em;
    color: #a8a8a8;
    margin-bottom: 30px;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid #3a3a3c;
    background: #252525;
    color: #e4e4e4;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #0A84FF;
}

.login-button.google {
    border-color: #4285f4;
}

.login-button.google:hover {
    background: rgba(66, 133, 244, 0.1);
    border-color: #4285f4;
}

.login-button.microsoft {
    border-color: #00a4ef;
}

.login-button.microsoft:hover {
    background: rgba(0, 164, 239, 0.1);
    border-color: #00a4ef;
}

.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #3a3a3c;
}

.login-footer-text {
    font-size: 0.85em;
    color: #a8a8a8;
    line-height: 1.6;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a8a8a8;
    font-size: 0.9em;
}

.feature-icon {
    font-size: 1.2em;
}

/* Error Messages */
.error-message {
    background-color: rgba(254, 238, 238, 0.1);
    color: #ff6b6b;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: none;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.error-message.visible {
    display: block;
}

/* Navigation Links (signup-link and login-link) */
.signup-link,
.login-link {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #a8a8a8;
}

.signup-link a,
.login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover,
.login-link a:hover {
    text-decoration: underline;
}

/* Signup Form Styles */
.signup-form {
    margin: 30px 0;
    text-align: left;
}

.form-section {
    margin-bottom: 10px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #e4e4e4;
}

/* Tier Selection Options */
.tier-options {
    display: grid;
    gap: 12px;
}

.tier-option {
    border: 2px solid #3a3a3c;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    background: #252525;
}

.tier-option:hover {
    border-color: #667eea;
    background-color: rgba(102, 126, 234, 0.05);
}

.tier-option input[type="radio"] {
    margin-right: 10px;
}

.tier-option.selected {
    border-color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.tier-title {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #e4e4e4;
}

.tier-description {
    font-size: 0.9em;
    color: #a8a8a8;
}

/* Form Input */
.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #3a3a3c;
    border-radius: 12px;
    font-size: 1em;
    box-sizing: border-box;
    background: #252525;
    color: #e4e4e4;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.form-input::placeholder {
    color: #6a6a6a;
}

/* Terms of Service Checkbox */
.tos-checkbox {
    display: flex;
    align-items: start;
    gap: 10px;
}

.tos-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.tos-text {
    font-size: 0.9em;
    color: #a8a8a8;
    line-height: 1.5;
}

.tos-text a {
    color: #667eea;
    text-decoration: none;
}

.tos-text a:hover {
    text-decoration: underline;
}

/* Beta Badge */
.beta-badge {
    display: inline-block;
    /*background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);*/
    color: white;
    border-radius: 12px;
    /*font-size: 0.8em;
    font-weight: 600;
    margin-left: 10px;*/
}

@media (max-width: 768px) {

    body.login-page {
        height: auto;
    }

    .login-container {
        display: block;
        background: #2d2d2d;
        border-radius: 20px;
        padding: 30px 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        text-align: center;
        max-width: 400px;
        width: 100%;
        border: 1px solid #3a3a3c;
    }

    .login-left {
        max-width: 768px;
    }

    .login-left,
    .login-right {
        padding: 0%
    }

    .login-title {
        font-size: 1.5em;
    }

    .login-hero {
        max-width: 250px;
    }

    .login-hero-image {
        max-width: 100%;
    }

    .signup-form {
        margin: 5px 0;
    }
}