.auth-background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 20%;
    animation-delay: 1s;
}

.auth-container {
    overflow-x: clip;
}

.auth-container .container {
    position: relative;
    z-index: 1;
}

.auth-container .row {
    margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
}

.auth-container .input-group {
    flex-wrap: nowrap;
}

.auth-container .input-group > .form-control {
    min-width: 0;
}

.input-group .btn {
    border-left: none;
}

.form-control:focus + .btn {
    border-color: var(--rvz-primary-500, var(--primary-color, #667eea));
}

@media (max-width: 991.98px) {
    .auth-container {
        display: block;
        min-height: 100dvh;
        padding: 24px 0;
        overflow-x: hidden;
    }

    .auth-container .container {
        width: 100%;
        max-width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .auth-container .row {
        margin-right: 0;
        margin-left: 0;
    }

    .auth-container [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }

    .auth-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .auth-header {
        padding: 1.75rem 1.5rem;
    }

    .auth-body {
        padding: 1.5rem;
    }

    .auth-footer {
        padding: 1rem 1.5rem 1.5rem;
    }

    .form-label {
        font-size: 0.95rem;
    }

    .input-group .btn {
        padding-inline: 14px;
    }

    .shape-2,
    .shape-4 {
        transform: scale(0.85);
    }
}

@media (max-width: 767.98px) {
    .auth-container {
        padding: 16px 0 24px;
        align-items: flex-start;
    }

    .auth-container .container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .auth-card {
        border-radius: 20px;
    }

    .auth-header {
        padding: 1.5rem 1.25rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .auth-header p {
        font-size: 0.95rem;
    }

    .auth-body {
        padding: 1.25rem;
    }

    .auth-footer {
        padding: 1rem 1.25rem 1.25rem;
    }

    .form-group {
        margin-bottom: 1.15rem;
    }

    .form-control,
    .btn-auth {
        font-size: 0.95rem;
    }

    .form-control {
        padding: 11px 13px;
    }

    .input-group .btn {
        padding-inline: 12px;
    }

    .shape-1 {
        width: 64px;
        height: 64px;
        left: -12px;
    }

    .shape-2 {
        width: 92px;
        height: 92px;
        right: -18px;
    }

    .shape-3 {
        width: 52px;
        height: 52px;
        left: 4%;
        bottom: 16%;
    }

    .shape-4 {
        width: 76px;
        height: 76px;
        right: -14px;
        bottom: 8%;
    }
}
