﻿@@media (max-height: 425px ) {
    .btn-open-modal {
        margin-left: 53px !important;
    }
}

@@media (max-height: 375px ) {
    .btn-open-modal {
        margin-left: 53px !important;
    }
}

@@media (max-height: 320px ) {
    .btn-open-modal {
        margin-left: 53px !important;
    }
}
.btn-open-modal {
    background: #cb7454;
    color: Var(--white);
    width: 149px;
    padding: 0.7rem 1.7rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 1rem;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #fff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgb(242 221 221 / 0%) !important;
}


#CourseModal input:focus,
#CourseModal textarea:focus,
#CourseModal select.form-control:focus {
    border-bottom: 2px solid #371a34;
    outline: none;
}
/* .login-popup {
                    display: none;
                    animation: showPopup 1s ease-in-out forwards;
                } */

/* @@keyframes showPopup {
                    0% {
                        opacity: 0;
                        transform: translateY(-50px);
                    }
                    100% {
                        opacity: 1;
                        transform: translateY(0);
                    }
                } */
.login-popup.show {
    visibility: visible;
    opacity: 1;
}

.login-popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1099;
    background-color: rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transition: all 1s ease;
}

    .login-popup .box .form .form-control {
        height: 50px;
        width: 100%;
        border: none;
        border-bottom: 1px solid #cccccc;
        font-size: 15px;
        color: #000000;
    }

    .login-popup.show .box {
        opacity: 1;
        margin-left: 0;
    }

@@media (max-width: 767px) {
    .login-popup .box {
        width: calc(100% - 30px);
    }
}

.login-popup .box {
    margin-top: 10px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    width: 323px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    margin-left: 50px;
    transition: all 1s ease;
}

.abc:hover {
    background: linear-gradient(to left, #371a34, purple);
    /* background-image: linear-gradient(to right, rgb(123, 240, 21), rgb(21, 209, 209)) !important; */
}

.btn:before {
    background: linear-gradient(to left, #371a34, purple) !important;
}

.login-popup .box .form .close {
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 30px;
    cursor: pointer;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

a:focus, a:hover, .no-shadow, .close {
    outline: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

#successMessage p {
    color: green;
}

#successMessage {
    margin-bottom: 10px;
    font-size: 14px;
    padding: 8px 12px;
    color: green;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999; /* Ensure the success message is above other content */
}