body {
    background-image: url('/images/bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.auth-logo-wrap {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 18px;
}

.auth-logo-wrap img {
    height: 170px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(16, 185, 129, 0.35));
    opacity: 0.95;
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.22), rgba(34, 211, 238, 0.12));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35);
}

.alert {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.alert.show {
    display: block;
}

.alert-error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin 0.7s linear infinite;
    vertical-align: -2px;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}

.auth-panel {
    animation: auth-fade-up 0.35s ease;
}

@keyframes auth-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
