/* Login Page Specific Styles Only */

/* Main Content - Login specific styling */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 20px 50px;
    min-height: calc(100vh - 160px); /* Adjust for header/footer */
}

.login-container {
    background: linear-gradient(145deg, #1a1a1a, #252525);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 0, 110, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff006e, #ffd700, #ff006e);
    opacity: 0.8;
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-section h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, #ff006e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-weight: 700;
}

.logo-section p {
    color: #ccc;
    font-size: 0.9rem;
}

/* User Type Selection */
.user-type-selection {
    margin-bottom: 25px;
}

.user-type-selection label {
    display: block;
    margin-bottom: 12px;
    color: #ccc;
    font-weight: 500;
    font-size: 0.9rem;
}

.user-type-options {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.user-type-option {
    flex: 1;
    position: relative;
}

.user-type-option input[type="radio"] {
    display: none;
}

.user-type-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin: 0;
    gap: 8px;
}

.user-type-option input[type="radio"]:checked + label {
    background: rgba(255, 0, 110, 0.2);
    border-color: #ff006e;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
}

.user-type-option label:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 0, 110, 0.3);
}

.user-type-option i {
    font-size: 1rem;
}

/* Model Notice */
.model-notice {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 0, 110, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.model-notice.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.model-notice h4 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1rem;
}

.model-notice p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.model-notice-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-model-redirect {
    background: linear-gradient(135deg, #ff006e, #e91e63);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-model-redirect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.4);
}

.btn-model-signup {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-model-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #ff006e;
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.form-group input::placeholder {
    color: #999;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #ff006e;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
}

.remember-me input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.forgot-password {
    color: #ff006e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #ffd700;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff006e, #e91e63);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.4);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.signup-link {
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

.signup-link a {
    color: #ff006e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #ffd700;
}

.error-message {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b6b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.success-message {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.4);
    color: #51cf66;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 10px;
}

.spinner {
    border: 3px solid rgba(255, 0, 110, 0.1);
    border-top: 3px solid #ff006e;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Styles for Login Page */
@media (max-width: 768px) {
    .main-content {
        padding: 20px 10px;
        min-height: calc(100vh - 140px);
    }

    .login-container {
        padding: 30px 20px;
        margin: 10px;
    }

    .logo-section h1 {
        font-size: 1.6rem;
    }

    .user-type-options {
        flex-direction: column;
        gap: 8px;
    }

    .model-notice-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 15px 5px;
    }

    .login-container {
        padding: 25px 15px;
        margin: 5px;
    }
}