/* Today's Buzz Branding Colors */
:root {
    --tb-primary: #FF8C42;
    --tb-primary-dark: #FF6B35;
    --tb-primary-light: #FFE5D4;
    --tb-secondary: #FFA500;
    --tb-dark: #2D3436;
    --tb-gray: #636E72;
    --tb-light-gray: #F5F6FA;
}

/* Auth Page Container */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--tb-light-gray) 0%, #ffffff 100%);
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Auth Card */
.auth-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.05);
    padding: 48px 40px;
    padding-top: 56px;
    position: relative;
    border-top: 5px solid var(--tb-primary);
}

/* Logo Section */
.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo img {
    max-width: 200px;
    height: auto;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--tb-dark);
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 15px;
    color: var(--tb-gray);
    margin: 0;
}

/* Form Styles */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--tb-dark);
    margin-bottom: 8px;
}

.auth-form .form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    background-color: #FAFAFA;
    color: var(--tb-dark);
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: var(--tb-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.1);
}

.auth-form .form-control::placeholder {
    color: #B0B0B0;
}

/* Password Field with Toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--tb-gray);
    font-size: 18px;
    padding: 0;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--tb-primary);
}

/* Buttons */
.btn-primary-tb {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--tb-primary) 0%, var(--tb-primary-dark) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-primary-tb:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

.btn-primary-tb:active {
    transform: translateY(0);
}

.btn-secondary-tb {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--tb-primary);
    background: transparent;
    border: 2px solid var(--tb-primary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary-tb:hover {
    background: var(--tb-primary-light);
    color: var(--tb-primary-dark);
}

/* Button Group */
.auth-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.auth-buttons .btn-primary-tb,
.auth-buttons .btn-secondary-tb {
    flex: 1;
}

/* Links */
.auth-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--tb-gray);
}

.auth-link a {
    color: var(--tb-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-link a:hover {
    color: var(--tb-primary-dark);
    text-decoration: underline;
}

/* Error/Success Messages */
.auth-message {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}

.auth-message.error {
    background: #FFF0F0;
    color: #D63031;
    border: 1px solid #FFCCCC;
}

.auth-message.success {
    background: #F0FFF4;
    color: #00B894;
    border: 1px solid #CCFFDD;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E8E8E8;
}

.auth-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: var(--tb-gray);
}

/* Required Field Indicator */
.required::after {
    content: ' *';
    color: #D63031;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-card {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .auth-header h1 {
        font-size: 24px;
    }

    .auth-buttons {
        flex-direction: column;
    }

    .auth-logo img {
        max-width: 160px;
    }
}

/* Legacy support - keep old class for backward compatibility */
.profile-card {
    width: 100%;
    margin: auto;
    padding: 30px;
    background: var(--tb-primary-light);
    color: var(--tb-primary-dark);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
}
