﻿
/* Оформление самого окна */
#reviewModal {
    border: none;
    border-radius: 8px;
    max-width: 400px;
    width: 96%;
    padding: 0;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); */
    box-shadow: 0 0px 0px 16px var(--shdw-light);
    position: relative;
    overflow: hidden;
}
/* Затемнение заднего фона (работает автоматически для showModal()) */
#reviewModal::backdrop {
  background: rgba(0, 0, 0, .2);
  backdrop-filter: blur(2px);
}

/* Кнопка закрытия (крестик) */
#reviewModal .modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #fff;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    padding:4px;
width:32px;
height:32px;
    cursor: pointer;
    z-index: 10;
}
#reviewModal .modal-close:hover {
    background: #fafafa;
  opacity:.8;
}

/* Блокировка прокрутки основной страницы, пока открыто окно */
body:has(#reviewModal[open]) {
  overflow: hidden;
}

form#frmReview {
    max-height: 88vh;
    /* vertical-align: bottom; */
	/*    padding:16px 4px 16px 16px;*/
}
.frmpop {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 16px var(--shdw-light);
    scrollbar-width: thin;
    flex-direction: column;
    justify-content: space-between;
}
.frmpop>div{padding:1rem;display:flex;flex-direction:column;justify-content:space-evenly;height:calc(100% - 100px);overflow-x: hidden!important;overflow-y:auto;scrollbar-width: thin;}

.frmpop center small{color:#78909c}
.frmpop textarea,.frmpop input:not([type=checkbox]):not([type=radio]),.frmpop select,.tOrder button,.tOrder input,form textarea,form input:not([type=checkbox]):not([type=radio]),form select{background-color:var(--lght-one);color:var(--lght-two);font:inherit;display:block;min-height:36px;line-height:100%;padding:0 10px;direction:ltr}.frmpop select,.frmpop textarea,form textarea{font:inherit;padding:5px 2%;border:0;resize:none}

.frmpop input, .frmpop textarea, .frmpop select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--input-bg);
    color: var(--text-color);
    font: inherit;
    outline: 0;
    transition: border-color .2s,box-shadow .2s;
}



.frmpop h3 {
    clear: both;
    font-weight: 400;
    font-size: 20px;
    background: var(--bg-middl);
    margin: 0;
    padding: 12px 15px;
    color: #fff;
    overflow: hidden;
}
.frmpop .btn{font-size:16px;height:36px;border-color:#d70f4b #d00000 #b9002d;border-radius:8px}.frmpop h3 small{display:block;font-size:.6em;margin-top:15px}#frmOrder input,#frmOrder select,#frmOrder textarea,.frmpop input,.frmpop select,.frmpop textarea{background-color:var(--drck-grays);width:100%;clear:both}.frmpop input,.frmpop select,.frmpop textarea{margin:0 auto 10px}
/*input::placeholder,select::placeholder,textarea::placeholder{color:var(--href-hover)}*/

.frmpop .btn{display:block;max-width:300px;width:100%;margin:0 auto}input[type=checkbox],input[type=number],input[type=radio]{color-scheme:var(--theme-mode)}.frmpop .afon,.tJoin .afon{padding:20px 15px;font-size:1.2rem}.errval{border:1px solid red}.apply{background-color:#c14c4e;font-size:1.2rem;color:#fff;height:56px;padding:0 20px;border-color:#be0a19}
.btn{cursor:pointer}
button.btn {
    min-width: 228px;
    min-height: 48px;
    margin: 4px auto;
    padding: 12px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--tx-acent);
    color: #fff;
    font: inherit;
    font-weight: 600;
    transition: opacity .2s,transform .1s;
}
.btn:hover {opacity:.8}

.photo figure,.spsend{overflow:hidden;margin:0 auto}.spsend{float:none;height:36px;width:200px;text-align:center}.photo figure{position:relative;background-color:var(--bgcl-bodys);background-repeat:no-repeat;background-position:center center;background-size:100%}.getPhoto{float:left;width:100px;margin:5px 15px -90px -5px}.getPhoto .photo{position:relative;width:88px;height:88px;margin:0 auto 5px;touch-action:none}.getPhoto input{z-index:5000;touch-action:none}.getPhoto .photo figure{width:100%;height:100%;border-radius:50%;border:2px solid var(--lght-one);cursor:pointer}.getPhoto .photo:hover figure{box-shadow:0 0 12px rgba(0,0,0,.25)}.getPhoto .phclr{position:relative;text-indent:-9999px;float:left;width:25px;height:25px;line-height:1;padding:0;margin-top:-27px;border-width:2px;border-radius:50%;z-index:10}.getPhoto .phclr .fa{float:left;text-indent:6px}

