﻿.popup {
}

.popup {
    opacity: 1;
    pointer-events: all;
    position: absolute;
    z-index: 99;
    bottom: -79px;
    left: 50%;
    transform: translateX(-50%) !important;
    width: 100%;
}

    .popup .grid.wide {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .popup .grid.wide {
    }

.popup-container {
    background-color: #fff;
    border-radius: 40px;
    max-width: 85%;
    width: 100%;
}

.popup-form-img {
    flex: 1;
    height: 336px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    overflow: hidden;
}

    .popup-form-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.popup-form {
    display: flex;
    align-items: center;
    background: white;
    padding: 6px 20px;
    border-radius: 40px;
    z-index: 99999999;
    box-shadow: 0 48px 35px rgba(124, 227, 252, 0.2), /* bottom dài hơn */
    -5px 0 10px rgba(124, 227, 252, 0.08), /* left */
    5px 0 10px rgba(124, 227, 252, 0.08); /* right */
    /* gap: 32px; */
}

    .popup-form .form-base {
        padding: 40px 61px;
        width: 100%;
        position: relative;
        padding-right: 0;
    }

        .popup-form .form-base:before {
            content: "";
            width: 1px;
            height: 49%;
            background: #0000000d;
            position: absolute;
            top: 45px;
            left: 28px;
        }

.form-base-btn {
    display: none
}

.popup-form .title {
    margin: 0;
    text-transform: capitalize;
    font-family: 'monB';
    font-weight: 100;
    color: var(--default-color-1);
    font-size: 38px;
    width: 21%;
    text-align: right;
}

.popup-form .form-base .descript {
    color: #333;
    font-size: 14px;
    margin: 8px 0;
    display: block;
}

.popup-form .form-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-rows: repeat(5, 1fr); */
    gap: 8px;
    column-gap: 10px;
    row-gap: 10px;
}

.txt.txtCapCha:focus-visible {
    outline: none; /* tùy chọn: bỏ viền xanh */
}

.txt.txtCapCha {
    height: 40px;
    border-radius: 55px;
    border: 1px solid #33333330;
    position: relative;
    display: flex;
    align-items: center;
    width: 59%;
    padding-left: 15px;
}

.input.input-capcha {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.form-item .icon-insidee {
    margin-right: 8px;
}

.form-item .icon-inside {
    margin-left: 20px
}

.popup-form .form-item {
    height: 40px;
    border-radius: 55px;
    border: 1px solid #33333330;
    position: relative;
    display: flex;
    align-items: center;
}

.form-list div:nth-child(3) {
    grid-column: span 2 / span 2;
}

.form-list div:nth-child(4) {
    grid-column: span 2 / span 2;
    grid-row-start: 2;
}

.form-list div:nth-child(5) {
    grid-column-start: 3;
    grid-row-start: 2;
}

.form-list div:nth-child(6) {
    grid-column-start: 4;
    grid-row-start: 2;
}

.tops img {
    width: 100%;
}

.popup-form .form-item-drops input {
    pointer-events: none;
    user-select: none;
}

.popup-form .form-item input {
    width: 100%;
    height: 100%;
    border-radius: 55px;
    outline: none;
    background-color: transparent;
    border: none;
    padding: 0 18px;
    font-size: 14px;
    padding-left: 7px;
}

.popup-form .form-item .erolh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--default-color-2);
    color: transparent !important;
    border-radius: 55px;
    pointer-events: none;
    user-select: none;
}

.popup-form .form-item-drops {
    cursor: pointer;
}

    .popup-form .form-item-drops input {
        padding-right: 32px;
    }

.popup-form .form-item i {
    position: absolute;
    color: #333333bf;
    right: 10px;
    font-size: 14px;
    pointer-events: none;
}

.popup-form .form-item.active .drops {
    opacity: 1;
    pointer-events: all;
}

.popup-form .form-item .drops {
    position: absolute;
    top: 100%;
    position: absolute;
    z-index: 2;
    background-color: #fff;
    top: 100%;
    border-radius: 10px;
    padding: 2px;
    overflow: hidden;
    max-height: 240px;
    box-shadow: 0 0 10px 0 #33333329;
    overflow-x: hidden;
    overflow-y: overlay;
    pointer-events: all;
    opacity: 0;
    pointer-events: none;
}
    /* width */
    .popup-form .form-item .drops::-webkit-scrollbar {
        width: 6px;
    }

    /* Track */
    .popup-form .form-item .drops::-webkit-scrollbar-track {
    }

    /* Handle */
    .popup-form .form-item .drops::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 5px
    }

        /* Handle on hover */
        .popup-form .form-item .drops::-webkit-scrollbar-thumb:hover {
        }

.popup-form .form-item .drop-items:hover {
    background-color: #fafafa;
}

.popup-form .form-item .drop-items {
    font-size: 14px;
    color: #333;
    padding: 8px 10px;
    line-height: 152%;
    font-family: 'interM';
    user-select: none;
    cursor: pointer;
}

.popup-form .form-item a {
    height: 100%;
    width: 100%;
    background-color: var(--default-color-1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 55px;
    transition: all .3s;
    font-family: 'monB';
}

    .popup-form .form-item a:hover {
        opacity: .7;
        background: #ff0000;
    }

.popup .form-base-btn:hover {
    opacity: .6;
}

@media(max-width:1023px) {
    .popup-form-img {
        display: none;
    }

    .popup-container {
        max-width: 100%;
    }

    .popup-form .form-base {
        width: 100%;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .popup-form {
        display: none;
    }

        .popup-form .form-list {
            grid-template-columns: repeat(1, minmax(0, 1fr));
            column-gap: 15px;
            row-gap: 15px;
            margin-top: 22px;
        }

        .popup-form .form-base .title {
            font-size: 20px;
        }

    .popup .form-base-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        right: 5px;
        top: 5px;
    }

    .popup-container {
        border-radius: 15px;
    }
}
