body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
  /*  height: 100vh;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-box {
    background-color: #333;
    padding: 100px 30px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    margin: 0 auto;
}


    .container-box img {
        width: 100%;
        margin-bottom: 1px;
    }

.toggle-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    .toggle-buttons button {
        width: 50%;
        padding: 10px;
        border: 1px solid #fff;
        background-color: #fff;
        color: #000;
        font-weight: bold;
        cursor: pointer;
    }

    .toggle-buttons .active {
        background-color: #333;
        color: #fff;
        border: 1px solid #fff;
    }

.form-section {
    transition: all 0.5s ease;
}

/*   .form-container {
            display: none;
            animation: fadeIn 0.4s ease-in-out;
        }*/

.form-container {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
    padding-top: 10px;
    padding-bottom: 30px;
}

    .form-container.active {
        display: block;
    }

.form-control {
    border-radius: 4px;
    margin-bottom: 15px;
}

.btn-login, .btn-signup {
    background-color: #6676f1;
    color: #fff;
    border: none;
    padding: 10px;
    font-weight: bold;
    width: 100%;
}

.forgot-link {
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.6); /* semi-transparent dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.d-none {
    display: none !important;
}




@media (max-width: 576px) {
    .container-box {
        padding: 30px 15px;
        min-height: 100vh;
    }

    .toggle-buttons button {
        font-size: 14px;
        padding: 8px;
    }

    .btn-login, .btn-signup {
        padding: 8px;
        font-size: 14px;
    }

    .input-group {
        flex-direction: column;
    }

        .input-group input,
        .input-group button {
            width: 100% !important;
            margin-top: 5px;
        }

    .form-control {
        font-size: 14px;
    }
}