.auth-field,
form > p {
    margin-bottom: 1.2rem;
}

.auth-field label,
form > p label {
    display: block;
    margin-bottom: 0.5rem;
    color: #171717;
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-form input:not([type="checkbox"]):not([type="radio"]),
.auth-form select,
.auth-form textarea,
form > p input:not([type="checkbox"]):not([type="radio"]),
form > p select,
form > p textarea {
    display: block;
    width: 100%;
    padding: 0.7rem 0.875rem;
    border: 1px solid #d0d0d0;
    border-radius: 0.5rem;
    background: #fff;
    color: #171717;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:not([type="checkbox"]):not([type="radio"]):focus,
.auth-form select:focus,
.auth-form textarea:focus,
form > p input:not([type="checkbox"]):not([type="radio"]):focus,
form > p select:focus,
form > p textarea:focus {
    border-color: #171717;
    outline: 0;
    box-shadow: 0 0 0 3px rgb(0 0 0 / 10%);
}

.auth-form .errorlist,
form .errorlist {
    margin: 0.35rem 0 0;
    padding: 0;
    color: #b42318;
    font-size: 0.8rem;
    list-style: none;
}

.auth-help,
form .helptext {
    display: block;
    margin-top: 0.35rem;
    color: #6c757d;
    font-size: 0.75rem;
}

.auth-brand {
    margin-bottom: 1.25rem;
    text-align: center;
}

.auth-brand img {
    width: min(132px, 42vw);
    height: auto;
}

.nav-tabs .nav-link {
    border: 0;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    background-color: #e9ecef;
    color: #000;
}

.nav-tabs .nav-link.active {
    border: 0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
}

.btn-dark {
    border: 0;
    background-color: #000;
    transition: all 0.2s ease;
}

.btn-dark:hover {
    background-color: #222;
    box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
    transform: translateY(-1px);
}

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

.btn-outline-dark {
    border: 1px solid #dee2e6;
    background-color: #fff;
    color: #333;
    transition: all 0.2s ease;
}

.btn-outline-dark:hover {
    border-color: #000;
    background-color: #070605;
    box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
    transform: translateY(-1px);
}

.alert-danger {
    border: 0;
    border-radius: 12px;
    background-color: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem !important;
    }
}
