* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f7f8fa;
    min-height: 100vh;
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, #fff5f5 0%, #f7f8fa 50%, #fff8f0 100%);
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    margin-bottom: 28px;
}

.auth-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 24px;
}

.auth-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.auth-alert.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.auth-alert.success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form .form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.auth-form .form-group label small {
    font-weight: 400;
    color: #9ca3af;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon i {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 0.85rem;
}

.input-icon input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: #1a1a1a;
    background: #fafafa;
    transition: all 0.2s ease;
    outline: none;
}

.input-icon input:hover {
    border-color: #d1d5db;
}

.input-icon input:focus {
    border-color: #ff3008;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 48, 8, 0.08);
}

.input-icon input::placeholder {
    color: #9ca3af;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background: #ff3008;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.auth-btn:hover {
    background: #e02800;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 48, 8, 0.25);
}

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

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.84rem;
    color: #6b7280;
}

.auth-footer a {
    color: #ff3008;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}


.auth-forgot-link {
    text-align: right;
    margin-top: -6px;
    margin-bottom: -4px;
}

.auth-forgot-link a {
    font-size: 0.8rem;
    color: #ff3008;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-forgot-link a:hover {
    color: #e02800;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-card h1 {
        font-size: 1.3rem;
    }
}