.auth-modal .modal-dialog {
    max-width: 940px;
}

.auth-modal .modal-content {
    background: transparent !important;
    border: 0;
}

.auth-modal .auth-modal-row {
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
}

.auth-modal .auth-side {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(33, 37, 41, 0.88)),
        url('/media/tpa_fox_white.png') center/160px no-repeat;
    min-height: 100%;
}

.auth-modal .auth-panel {
    background: #fff;
}

.auth-side-title {
    font-size: 1.65rem;
    line-height: 1.15;
}

.auth-side-text {
    font-size: 0.92rem;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.auth-feature-list li {
    margin-bottom: 0.4rem;
    font-size: 0.86rem;
}

.auth-heading {
    font-size: 1.35rem;
}

.auth-switch {
    background: #f3f4f6;
    padding: 0.3rem;
    border-radius: 1rem;
}

.auth-switch .nav-link {
    color: #374151;
    font-weight: 600;
    padding: 0.7rem 0.9rem;
    font-size: 0.92rem;
}

.auth-switch .nav-link.active {
    background: #111827;
    color: #fff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.15);
}

.auth-form .form-label {
    font-size: 0.87rem;
    margin-bottom: 0.35rem;
}

.auth-form .form-control,
.auth-form .form-select,
.auth-form textarea {
    border: 1px solid #e5e7eb;
    padding: 0.72rem 0.9rem;
    box-shadow: none;
    font-size: 0.92rem;
}

.auth-form textarea {
    min-height: 42px;
    resize: vertical;
}

.auth-form .form-control:focus,
.auth-form textarea:focus,
.auth-form .form-select:focus {
    border-color: #111827;
    box-shadow: 0 0 0 0.2rem rgba(17, 24, 39, 0.08);
}

.auth-link {
    color: #111827;
    font-weight: 600;
}

.auth-link:hover {
    color: #000;
    text-decoration: underline !important;
}

.btn-submit {
    font-size: 0.95rem;
    padding: 0.72rem 1rem;
}

.auth-form .form-check-label {
    font-size: 0.8rem;
}

@media (max-width: 991.98px) {
    .auth-modal .auth-side {
        min-height: 220px;
        background:
            linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(33, 37, 41, 0.88)),
            url('/media/tpa_fox.png') center/120px no-repeat;
    }

    .auth-modal .auth-modal-row {
        border-radius: 2rem;
    }
}