/* Professional Auth Modals (Login / Register) */

.auth-modal .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.auth-modal-header {
    background: linear-gradient(135deg, #ff661a 0%, #e65c17 100%);
    color: #fff;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

.auth-modal-header .modal-title {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    margin: 0;
}

.auth-modal-subtitle {
    color: #777;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-modal-body {
    padding: 1.75rem 1.75rem 1.5rem;
}

.auth-input-group {
    position: relative;
}

.auth-input-group .form-control {
    padding-left: 2.6rem;
    height: 46px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-input-group .form-control:focus {
    border-color: #ff661a;
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 26, 0.15);
}

.auth-input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    z-index: 5;
}

.auth-toggle-password {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    cursor: pointer;
    z-index: 5;
}

.auth-toggle-password:hover {
    color: #ff661a;
}

.auth-btn-primary {
    background: linear-gradient(135deg, #ff661a 0%, #e65c17 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    height: 46px;
    letter-spacing: 0.3px;
    transition: box-shadow .15s ease, transform .15s ease, opacity .15s ease;
}

.auth-btn-primary:hover:not(:disabled) {
    box-shadow: 0 4px 14px rgba(255, 102, 26, 0.4);
    transform: translateY(-1px);
    color: #fff;
}

.auth-btn-primary:disabled {
    opacity: 0.7;
    cursor: progress;
}

.auth-btn-outline {
    background: #fff;
    border: 1.5px solid #ff661a;
    color: #ff661a;
    font-weight: 600;
    border-radius: 8px;
    height: 46px;
    transition: background .15s ease, color .15s ease;
}

.auth-btn-outline:hover {
    background: #ff661a;
    color: #fff;
}

.auth-btn-social {
    background: #fff;
    border: 1.5px solid #ddd;
    color: #333;
    font-weight: 600;
    border-radius: 8px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}

.auth-btn-social:hover {
    background: #f7f7f7;
    color: #333;
    border-color: #ccc;
}

.auth-btn-social i {
    font-size: 1.05rem;
}

.auth-btn-google i {
    color: #4285F4;
}

.auth-btn-facebook i {
    color: #1877F2;
}

.auth-link {
    color: #ff661a;
    font-weight: 500;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
    color: #e65c17;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin: 1.25rem 0 1rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e5e5;
}

.auth-divider span {
    padding: 0 0.75rem;
}

.auth-error-box {
    font-size: 0.85rem;
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
}
