/* Modal (Popup) Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: linear-gradient(to bottom, #a0c4ff, #c7dffd);
    width: 800px;
    margin: 35px auto;
    padding: 45px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    height: auto;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-btn,
.modal-close-btn {
    position: absolute;
    right: 8px;
    top: -7px;
    font-size: 44px;
    cursor: pointer;
    color: red;
}

.light-back-color {
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}

.form-input input:focus+label,
.form-input input:not(:placeholder-shown)+label,
.form-input select:focus+label,
.form-input select:not(:placeholder-shown)+label,
.form-input textarea:focus+label,
.form-input textarea:not(:placeholder-shown)+label {
    background-color: rgba(255, 255, 255, 1);
}

.form-input {
    width: 48%;
}

.modal h2 {
    margin-bottom: 25px;

}

.modal button {
    padding: 10px 20px;
    background-color: var(--dark-blue-color);
    color: var(--dark-grey-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

@media(max-width: 860px) {

    #PlanForm .d-flex,
    .contact-form .d-flex {
        display: block !important;
    }

    .modal-content {

        width: 550px;

    }

    .modal {
        overflow-y: scroll;
    }

    #PlanForm .form-input,
    .contact-form .form-input {

        width: 100%;

    }
}

@media(max-width: 610px) {

    .modal-content {
        width: 92%;
    }

}

@media(max-width: 452px) {
    .modal-content {
        width: 92%;
        padding: 0;
    }

}

@media(max-width: 360px) {

    .modal-content {
        width: 275px;
        padding: 0;
    }

}

.no-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.no-items p {
    font-size: 25px;
    color: var(--dark-blue-color);
    margin: 20px 0px;
}

#containerNoPlan {
    margin-bottom: 100px;
}