 .bg-video {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    .auth-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .card-container {
        position: relative;
        width: 400px;
        height: 450px;
        transform-style: preserve-3d;
        transition: transform 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out, opacity 0.3s ease;
        z-index: 1;
    }

    .card-container.flip {
        transform: rotateY(180deg);
    }

    .card-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 20px;
    }

    .card-back {
        transform: rotateY(180deg);
    }

    .card-container.resize {
        transition: width 0.6s ease-in-out, height 0.6s ease-in-out;
    }

    .card-container.flipping .card-side form {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .card-container .card-side form {
        opacity: 1;
        pointer-events: auto;
        transition: opacity 0.3s ease 0.6s;
    }

    .auth-logo img {
        height: 52px;
    }

    .btn-custom {
        background-color: #0984e3;
        color: #fff;
        border: none;
    }

    .btn-custom:hover {
        background-color: #000;
        color: #fff;
    }

    @media (max-width: 768px) {
        .row.g-3, .row.row-cols-1.row-cols-md-2 {
            display: flex;
            flex-wrap: nowrap;
            justify-content: space-between;
            gap: 15px;
        }

        .col-md-6, .col-md-7, .col-md-5 {
            width: calc(50% - 7.5px);
        }

        .input-group {
            flex-wrap: nowrap;
        }

        .input-group .form-control {
            flex: 1;
        }

        .btn-outline-secondary {
            min-width: 60px;
        }
    }