*,
::after,
::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    border: 0;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent
}

@-ms-viewport {
    width: device-width
}

article,
aside,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block
}

img {
    max-width: 100%
}

[tabindex="-1"]:focus {
    outline: 0 !important
}

.fx {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.dg {
    display: grid;
    grid-gap: 15px;
}

.dg_auto {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ai_c {
    align-items: center
}

.ai_s {
    align-items: stretch
}

.jc_c {
    justify-content: center
}

.jc_sa {
    justify-content: space-around
}

.jc_fs {
    justify-content: flex-start
}

.jc_fe {
    justify-content: flex-end
}

.tc {
    text-align: center
}

.tl {
    text-align: left
}

.tr {
    text-align: right
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px
}

::-webkit-scrollbar-track {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #D7E2EAA6
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #B3CBDEA6
}

::-webkit-scrollbar-thumb:window-inactive {
    background: #7B91A2A6
}

body::-webkit-scrollbar {
    width: 10px
}

body::-webkit-scrollbar-track {
    background: #FFFFFF
}

body::-webkit-scrollbar-thumb {
    background: #7192A9A5
}

hr {
    border: none;
    border-top: 1px #c2c2d4 solid;
    display: block;
    margin: 10px 0;
}

/* Alert */
.alert_overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(9, 18, 62, 0.5);
}

.alert_msg {
    position: fixed;
    width: 400px;
    left: 50%;
    margin-left: -200px;
    top: 20%;
    z-index: 9999;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .3);
    background: #fff;
    text-align: center;
    animation: alertshow .2s ease;
}

.alert_big {
    width: 90%;
    top: 10%;
    margin-left: calc(-50% + 5%);
}

.alert_content {
    padding: 20px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    max-height: 70vh;
    overflow-y: auto;
}

.alert_content pre {
    text-align: left;
    margin-bottom: 15px;
}

.alert_content .error {
    color: #ec0808;
    display: block;
}

.alert_content .success {
    color: #3fac3a;
    display: block;
}

.alert_buttons {
    padding-bottom: 20px;
}

.alert_buttons .alert_btn {
    background: #73BF00;
    color: #fff !important;
    min-width: 80px;
    display: inline-block;
    font-weight: 400;
    border-radius: 2px;
    border: none;
    padding: 12px 15px;
    margin: 0 10px;
    transition: 0.2s;
    cursor: pointer;
}

.alert_buttons .alert_btn:hover {
    background: #6aa90b;
}

.alert_btn_cancel {
    background: #B8BDC4 !important;
}

.alert_btn_cancel:hover {
    background: #8f96a0 !important;
}

#prompt_js {
    width: calc(100% - 20px);
    border: 1px #ccc solid;
    border-radius: 2px;
    margin-top: 5px;
    padding: 10px;
}

.many_buttons button {
    display: block !important;
    width: calc(100% - 20px) !important;
}

.many_buttons button:not(:last-child) {
    margin-bottom: 10px;
}

.alert_input {
    width: calc(100% - 40px);
    margin-bottom: 5px;
}

.alert_tips {
    position: fixed;
    z-index: 10176523;
    width: 100%;
    top: 55%;
    pointer-events: none;
    text-align: center;
}

.alert_tips div {
    box-siziong: border-box;
    display: inline-block;
    padding: 15px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .7);
    min-width: 50px;
    max-width: 230px;
    text-align: center;
    color: #fff;
    animation: tipsshow 3s .01s ease;
    opacity: 0;
}

@keyframes alertshow {
    0% {
        opacity: 0;
        transform: scale(.5)
    }

    70% {
        opacity: .7;
        transform: scale(1.05)
    }

    100% {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes tipsshow {
    0% {
        opacity: 0;
        transform: scale(1.4) rotateX(-360deg)
    }

    20% {
        opacity: 1;
        transform: scale(1) rotateX(0deg)
    }

    80% {
        opacity: 1;
        transform: scale(1) rotateX(0deg)
    }

    100% {
        opacity: 0;
        transform: scale(1.4) rotateX(360deg)
    }
}

/* alert END */

.tabs {
    width: 100%;
}

.tabs_content.active {
    display: block;
}

.tabs_caption li {
    background: #dadfed;
    color: #4B5E6E;
    display: inline-block;
    padding: 8px 10px;
    border-radius: 2px 2px 0 0;
    cursor: pointer;
    font-weight: 400;
    opacity: .8;
}

.tabs_caption li:hover,
.tabs_caption li.active {
    background: #fff;
    color: #72798b;
    box-shadow: none;
    opacity: 1;
}

.tabs_content {
    background: #fff;
    border-radius: 0 0 2px 2px;
    padding: 15px;
    overflow-y: auto;
    display: none;
}











/* SERVER SAY */
#main_answer_server {
    position: fixed;
    left: 10px;
    bottom: 17px;
    z-index: 99999;
}

#main_answer_server .server_say {
    background: #094b79 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnN2Z2pzPSJodHRwOi8vc3ZnanMuY29tL3N2Z2pzIiB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgeD0iMCIgeT0iMCIgdmlld0JveD0iMCAwIDMzMCAzMzAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiIGNsYXNzPSIiPjxnPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPHBhdGggZD0iTTE2NSwwQzc0LjAxOSwwLDAsNzQuMDIsMCwxNjUuMDAxQzAsMjU1Ljk4Miw3NC4wMTksMzMwLDE2NSwzMzBzMTY1LTc0LjAxOCwxNjUtMTY0Ljk5OUMzMzAsNzQuMDIsMjU1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bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8L2c+PC9zdmc+) no-repeat 5px 10px;
    /* #35a2ff */
    background-size: 17px;
    color: #fff;
    text-align: center;
    padding: 10px 10px 10px 25px;
    border-radius: 3px;
    font-size: 14px;
    width: 100%;
    box-shadow: 3px 5px 8px rgba(0, 55, 76, 0.31);
    margin-top: 10px;
    line-height: 18px;
    animation: slideUp 0.3s cubic-bezier(0, 0, 0.07, 1.42);
    position: relative;
    top: 0;
}

#main_answer_server .success,
#main_answer_server .true,
#main_answer_server .ok {
    background-color: #62c324;
}

#main_answer_server .danger {
    background-color: #ea7337;
}

#main_answer_server .error,
#main_answer_server .wrang,
#main_answer_server .false {
    background-color: #d01717;
}

/*=== loading ===*/
#loading {
    background: rgba(0, 17, 37, 0.9);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
    display: none;
}

#loading-text {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    line-height: 20px;
    color: #00B4F8;
    width: 100px;
    height: 30px;
    margin: -7px 0 0 -45px;
    text-align: center;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 15px;
}

#loading-text span {
    display: block;
    color: #00B4F8;
    margin-top: 3px;
    font-size: 20px;
}

#loading-content {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 170px;
    height: 170px;
    margin: -85px 0 0 -85px;
    border: 3px solid #F00;
}

#loading-content:after {
    content: "";
    position: absolute;
    border: 3px solid #0F0;
    left: 15px;
    right: 15px;
    top: 15px;
    bottom: 15px;
}

#loading-content:before {
    content: "";
    position: absolute;
    border: 3px solid #00F;
    left: 5px;
    right: 5px;
    top: 5px;
    bottom: 5px;
}

#loading-content {
    border: 3px solid transparent;
    border-top-color: #00B4F8;
    border-bottom-color: #00B4F8;
    border-radius: 50%;
    -webkit-animation: loader 2s linear infinite;
    -moz-animation: loader 2s linear infinite;
    -o-animation: loader 2s linear infinite;
    animation: loader 2s linear infinite;
}

#loading-content:before {
    border: 3px solid transparent;
    border-top-color: #00a0dd;
    border-bottom-color: #00a0dd;
    border-radius: 50%;
    -webkit-animation: loader 3s linear infinite;
    -moz-animation: loader 2s linear infinite;
    -o-animation: loader 2s linear infinite;
    animation: loader 3s linear infinite;
}

#loading-content:after {
    border: 3px solid transparent;
    border-top-color: #0084b7;
    border-bottom-color: #0084b7;
    border-radius: 50%;
    -webkit-animation: loader 1.5s linear infinite;
    animation: loader 1.5s linear infinite;
    -moz-animation: loader 2s linear infinite;
    -o-animation: loader 2s linear infinite;
}

@-webkit-keyframes loaders {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loader {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*=== loading end ===*/

/* SERVER SAY */
#nex_server {
    width: 250px;
    position: fixed;
    left: 10px;
    bottom: 17px;
    z-index: 99999;
}

#nex_server .server_say {
    background: #094b79 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnN2Z2pzPSJodHRwOi8vc3ZnanMuY29tL3N2Z2pzIiB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgeD0iMCIgeT0iMCIgdmlld0JveD0iMCAwIDMzMCAzMzAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiIGNsYXNzPSIiPjxnPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPHBhdGggZD0iTTE2NSwwQzc0LjAxOSwwLDAsNzQuMDIsMCwxNjUuMDAxQzAsMjU1Ljk4Miw3NC4wMTksMzMwLDE2NSwzMzBzMTY1LTc0LjAxOCwxNjUtMTY0Ljk5OUMzMzAsNzQuMDIsMjU1Ljk4MSwwLDE2NSwweiAgICBNMTY1LDMwMGMtNzQuNDQsMC0xMzUtNjAuNTYtMTM1LTEzNC45OTlDMzAsOTAuNTYyLDkwLjU2LDMwLDE2NSwzMHMxMzUsNjAuNTYyLDEzNSwxMzUuMDAxQzMwMCwyMzkuNDQsMjM5LjQzOSwzMDAsMTY1LDMwMHoiIGZpbGw9IiNmZmZmZmYiIGRhdGEtb3JpZ2luYWw9IiM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tbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8L2c+PC9zdmc+) no-repeat 5px 10px;
    /* #35a2ff */
    background-size: 17px;
    color: #fff;
    text-align: center;
    padding: 10px 10px 10px 25px;
    border-radius: 3px;
    font-size: 14px;
    width: 100%;
    box-shadow: 3px 5px 8px rgba(0, 55, 76, 0.31);
    margin-top: 10px;
    line-height: 18px;
    animation: slideUp 0.3s cubic-bezier(0, 0, 0.07, 1.42);
    position: relative;
    top: 0;
}

#nex_server .success,
#nex_server .true,
#nex_server .ok {
    background-color: #62c324;
}

#nex_server .danger {
    background-color: #ea7337;
}

#nex_server .error,
#nex_server .wrang,
#nex_server .false {
    background-color: #d01717;
}

@keyframes slideUp {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

/* SERVER SAY END */

.cel_l_error {
    color: #f00;
}

#timer {
    max-width: 300px;
    margin: 20px auto;
    position: relative;
    text-align: center;
    font-size: 21px;
    font-weight: 500;
}

#timer span {
    background: #f00;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    position: absolute;
    top: 30px;
    left: 0;
    transition: 1s cubic-bezier(0, 0, 0, 0);
}

.ql-align-justify {
    text-align: justify;
}

#celena_content p:not(:last-child) {
    margin-bottom: 20px;
}

.phpErrors {
    background: #05101ff2;
    color: #9fa6af;
    line-height: 13px;
    font-size: 13px;
    display: block;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    padding: 0 10px 10px;
    border-radius: 2px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.phpErrors b {
    color: #e34646;
    letter-spacing: 1px;
}

.is_required {
    box-shadow: 0 0 0 1px #f00 !important;
}

.sendConnect {
    background: #c20000;
    color: #ffffff;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.speed_bar {
    background: #000;
    color: #fff;
    font-size: 13px;
    width: 100%;
    height: 4px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
}

.speed_bar span {
    background: #f00;
    width: 0;
    height: 4px;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    transition: .3s;
}

/*.speed_bar p{
    position: absolute;
    top: 0;
    left: 49%;
}*/
#googleAuth,
#googleAuth2 {
    display: flex;
    justify-content: center;
    margin: 7px auto;
}

.filter_item {
    display: flex;
    grid-gap: 10px;
    align-items: center;
}

#celena_filter input[type="text"],
#celena_filter input[type="number"],
#celena_filter input[type="date"],
#celena_filter textarea,
#celena_filter select {
    margin-bottom: 0;
}

.previews_images {
    background: #ecf0fa;
    border: 1px #b9cbda dashed;
    padding: 5px;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}

.air-datepicker-global-container {
    z-index: 9999;
}

.preload {
    height: 50px;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 20px;
    background: linear-gradient(120deg, #dae0ed 0%, #dae0ed 28%, #fff 50%, #dae0ed 54%, #dae0ed 100%);
    background-size: 400% 400%;
    -webkit-animation: Animation 5s linear infinite;
    -moz-animation: Animation 5s linear infinite;
    animation: Animation 2s linear infinite;
}

@keyframes Animation {
    0% {
        background-position: 100% 100%;
    }

    50% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% 0%;
    }
}


/* ===== Modern Modal Styles ===== */
.modal_backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal_backdrop.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 500px;
    width: 90%;
    max-height: 100vh;
    overflow: hidden;
    display: block;
}

.modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal_title {
    background: linear-gradient(135deg, #0e7b0a, #28a745);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 20px 25px;
    margin: 0;
    text-align: center;
    position: relative;
    text-transform: none;
}

.modal_content {
    padding: 25px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    max-height: 100vh;
    overflow-y: auto;
    text-align: left;
}

.modal_content p {
    margin-bottom: 15px;
}

.modal_content p:last-child {
    margin-bottom: 0;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.close:active {
    transform: scale(0.95);
}

/* Modal Form Styles */
.modal_content input[type="text"],
.modal_content input[type="email"],
.modal_content input[type="tel"],
.modal_content textarea,
.modal_content select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.modal_content input[type="text"]:focus,
.modal_content input[type="email"]:focus,
.modal_content input[type="tel"]:focus,
.modal_content textarea:focus,
.modal_content select:focus {
    outline: none;
    border-color: #0e7b0a;
    box-shadow: 0 0 0 3px rgba(14, 123, 10, 0.1);
}

.modal_content textarea {
    resize: vertical;
    min-height: 100px;
}

/* Modal Button Styles */
.modal_content .btn {
    background: linear-gradient(135deg, #0e7b0a, #28a745);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    margin-right: 10px;
    margin-bottom: 10px;
}

.modal_content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 123, 10, 0.3);
}

.modal_content .btn:active {
    transform: translateY(0);
}

.modal_content .btn--secondary {
    background: #6c757d;
}

.modal_content .btn--secondary:hover {
    background: #5a6268;
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

/* Modal Animation Keyframes */
@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0);
    }
}

@keyframes modalSlideOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8) translateY(20px);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        max-height: 85vh;
    }

    .modal_title {
        font-size: 15px;
        padding: 15px 20px;
    }

    .modal_content {
        padding: 20px;
        font-size: 13px;
    }

    .close {
        width: 25px;
        height: 25px;
        font-size: 16px;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .modal {
        width: 98%;
        max-height: 90vh;
    }

    .modal_title {
        font-size: 14px;
        padding: 12px 15px;
    }

    .modal_content {
        padding: 15px;
        font-size: 12px;
    }

    .modal_content input[type="text"],
    .modal_content input[type="email"],
    .modal_content input[type="tel"],
    .modal_content textarea,
    .modal_content select {
        padding: 10px 12px;
        font-size: 13px;
    }

    .modal_content .btn {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        margin-right: 0;
    }
}