@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700&family=Roboto:wght@300&display=swap');

.container{
min-height: 100%;
margin: 10px;
margin-bottom: 50px;
padding-bottom: 100px;
padding-top: 10px;
background: lightyellow;
border-radius: 15px 15px 15px 15px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}


.mobile-app {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.left-app {
    width: 50%;
    height: 100%;
    box-sizing: border-box;

}

.left-app p {
margin-bottom: 30px;
}

.right-app {
    width: 50%;
    height: 100%;
}

@media only screen and (max-width: 770px) {
    .mobile-app {
        flex-direction: column;
    }
    .left-app {
        order: 2;
        width: 100%;
        margin-bottom: 20px;
    }
    .right-app {
        order: 1;
        width: 70%;
        margin: 0 auto;
    }
}

.apk_info {
max-width: 390px;
min-width: 320px;
background: #A8E4A0;
border-radius: 5px;
box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.2);
padding: 10px;
margin-right: 20px;
margin-bottom: 15px;
margin-top: 15px;
}

.apk_info_image_and_text {
display: flex;
justify-content: space-between;
align-items: center;
}

.left-div {
text-align: right;
    margin-left: auto;
    margin-right: auto;
}

.right-div {
text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.center-div {
    text-align: center;
    margin-left: auto;
}

.apk_image {
height: 100px;
weight: 100px;
}

.apk_text p{
margin-bottom: 0rem;
}

.warning {
display: flex;
align-items: center;
background: #ffc107;
border-radius: 5px 5px 5px 5px;
box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.2);
padding-left: 10px;
padding-top: 10px;
padding-bottom: 10px;
margin-right: 10px;
margin-bottom: 15px;
margin-top: 15px;
}

.info_new {
display: flex;
align-items: center;
background: #A8E4A0;
border-radius: 5px 5px 5px 5px;
box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.2);
padding-left: 10px;
padding-top: 10px;
padding-bottom: 10px;
margin-bottom: 15px;
margin-top: 15px;
}

.info{
background: #A8E4A0;
border-radius: 5px 5px 5px 5px;
box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.2);
padding-left: 10px;
padding-right: 5px;
padding-top: 10px;
padding-bottom: 10px;
margin-bottom: 10px;
}

.orders-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.orders-count, .orders-count-box, .orders-weight {
    background: linear-gradient(145deg, #ffc278, #e08d35);
    word-wrap: break-word;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    padding: 20px;

    transition: transform 0.3s ease;
}

.orders-count h1, .orders-count-box h1, .orders-weight h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

.orders-count p, .orders-count-box p, .orders-weight p {
    margin: 0;
    font-size: 1rem;
}

.order-list-filter{
background: #EEE;
border-radius: 5px 5px 5px 5px;
box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.2);
padding-left: 10px;
padding-right: 5px;
padding-top: 20px;
padding-bottom: 10px;
margin-bottom: 15px;
}

.icon {
font-size: 20px;
margin-right: 5px;
}

.text {
border-left: 1px solid black;
padding-left: 5px;
padding-right: 10px;
}

.img-action{
justify-content: center;
margin-right: 10px;
min-width: 70px;
min-height: 70px;
max-width: 70px;
max-height: 70px
}

.span_new_faq{
color: red;
font-size: 9px;
margin-left: 2px;
position: absolute;
}

.shipping_date_active_true{
white-space: nowrap;
background: green;
border-radius: 15px;
padding: 5px 10px 5px 10px;
margin-top: 3px;
}

.shipping_date_active_true b{
color: white;
}

.shipping_date_active_false{
animation: blink 2s infinite;
white-space: nowrap;
background: red;
border-radius: 15px;
padding: 5px 10px 5px 10px;
margin-top: 3px;
}

.shipping_date_active_false b{
color: white;
}

@keyframes blink {
  0% {
    background: red;
  }
  20% {
    background: transparent;
  }
}

.shipping_date_active_false_faq{
background: red;
color: white;
white-space: nowrap;
border-radius: 15px;
padding: 5px 10px 5px 10px;
margin-top: 3px;
}

.shipping_date_active_true_faq{
background: green;
color: white;
white-space: nowrap;
border-radius: 15px;
padding: 5px 10px 5px 10px;
margin-top: 3px;
}

.faq img{
border-radius: 15px;
box-shadow: 4px 4px 8px 4px rgba(0, 0, 0, 0.5);
}

.faq p{
font-weight: 600;
}
/*
#id_items_1{
width: 202px;
}

#id_items_2{
width: 202px;
}*/

.chat-container {
  display: flex;
  flex-direction: column;
  height: 80vh;
}

.chat-header {
  display: flex;
  /*justify-content: space-between;*/
  align-items: center;
  padding: 10px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin: 10px;
  background-color: #fff;
}

.message {
  position: relative;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 10px;
  width: 80%;
}

.my-message {
  background-color: #d7e8d7;
  float: right;
  clear: both;
}

.message-content {
  white-space: pre-wrap;
}

.other-message {
  background-color: #d6ddff;
  float: left;
  clear: both;
}

.message-time {
  float: right;
  font-size: small;
}

.message-header {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 5px;
  color: blue;
}

.message-body {
  font-size: 16px;
}

.chat-form {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  background-color: #f8f9fa;
}

.chat-input {
  flex: 1;
  height: 50px;
  margin-right: 10px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.message-actions {
  position: absolute;
  flex: right;
  top: 10px;
  right: 10px;
}

.tree {
position: fixed;
right: 10px;
bottom: 30px;
height: 70px;
//margin: 5px 5px;
//padding: 6px 6px 0px 6px;
border: none;
cursor: pointer;
}

.index_container{
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
height: 100%;
//padding-bottom: 70px;
}
    
.button {
width: 210px;
padding: 10px 10px;
height: 100px;
margin: 10px;
border-radius: 15px;
background: linear-gradient(rgba(240, 195, 70, 0.8), rgba(250, 240, 157, 1));
display: inline-flex;
justify-content: center;
align-items: center;
font-size: 24px;
color: black;
text-decoration: none;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
text-align: center;
font-family: 'Roboto Slab', serif;
}

.button:hover {
transform: translateY(-5px);
box-shadow: 0 4px 10px rgba(8, 94, 0, 0.4);
}

.button:hover,
.button:focus {
outline: none;
user-select: none;
text-decoration: none;
}

.no_login_user{
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
height: 10vh;
}

/* Кнопка "Войти" */
.index_button_login {
width: 210px;
height: 50px;
margin: 10px;
border-radius: 10px;
//filter: blur(3px);
background: linear-gradient(rgba(30, 144, 255, 0.8), rgba(30, 45, 255, 1));
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
color: white;
text-decoration: none;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
text-align: center;
font-family: 'Roboto Slab', serif;
}

.index_button_login:hover {
color: whitesmoke;
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.index_button_login:hover,
.index_button_login:focus {
outline: none;
user-select: none;
text-decoration: none;
}

/* Кнопка "Зарегистрироваться" */
.index_button_signup {
width: 210px;
height: 50px;
margin: 10px;
border-radius: 10px;
//filter: blur(3px);
background: linear-gradient(rgba(0, 209, 0, 0.8), rgba(0, 128, 0, 1));
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
color: white;
text-decoration: none;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
text-align: center;
font-family: 'Roboto Slab', serif;
}

.index_button_signup:hover {
color: whitesmoke;
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.index_button_signup:hover,
.index_button_signup:focus {
outline: none;
user-select: none;
text-decoration: none;
}

/* аватарка пользователя в заказе + инфа о заказе */
.order_details_person {
//display: flex;
flex-wrap: wrap;
flex-basis: 75%;
background: #A8E4A0;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
padding-left: 10px;
padding-bottom: 1px;
margin-top: 10px;
}

.order_details_person_user_and_order{
flex-basis: 75%;
display: block;
flex-wrap: wrap;
}

.order_details_person_user_photo{
flex-basis: 20%;
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
margin-top: 25px;
margin-left: 45px;
}

.order_details_person_user_photo img{
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 10px;
  margin-right: 20px;
}

.footer{
background: #e7e8e3;
color: black;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 32px;
margin-top: 40px;
font-size: 11px;
margin: 0;
padding: 10px 1em;
}

.order_release_composition{
//max-width: 850px;
background: #fff3cd;
border-radius: 10px 10px 10px 10px;
padding-left: 10px;
padding-bottom: 1px;
margin-bottom: 10px;
margin-right: 10px;
padding-right: 20px;
//margin-top: -120px;
}

.btn-order-release{
font-size: 3rem;
}

/* Выдача заказов */
.order_user_issuance_form{
background: #A8E4A0;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
text-align: center;
height: 50px;
padding-bottom: 60px;
padding-top: 10px;
}

.order_user_issuance_composition{
background: #fff3cd;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
margin-bottom: 40px;
padding-left: 10px;
padding-top: 10px;
padding-bottom: 1px;
}

.barcode-container{
background: #fff3cd;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
margin-bottom: 40px;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 1px;
}

.info_composition{
background: white;
border-radius: 10px 10px 10px 10px;
box-shadow: inset 4px -1px 8px 0 rgba(0, 0, 0, 0.2), 0 4px 8px 0 rgba(0, 0, 0, 0.2);
padding-left: 10px;
padding-top: 10px;
padding-bottom: 10px;
margin-right: 10px;
margin-bottom: 10px;
#padding-right: 65%;
}

.info_pack{
font-size: 20px;
font-weight: 700;
}

.info_weight_and_price{
padding-top: 15px;
font-size: 20px;
font-weight: 500;
}

.btn-order-release{
margin-top: 25px;
font-size: 30px;
size: 30px;
}

.total_price{
background: #A8E4A0;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
text-align: center;
height: 50px;
padding-bottom: 60px;
padding-top: 10px;
font-size: 30px;
font-weight: 700;
}


.error_403{
text-align: center;
font-size: 40px;
}

.signup_error{
background: #fff3cd;
top: 10px;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
margin-top: 25px;
margin-bottom: 20px;
padding-left: 10px;
padding-top: 10px;
padding-bottom: 10px;
}

.item_signup{
position: absolute;
right: 1em;
}

.item_login{
position: absolute;
right: 8em;
}

.item_user{
position: absolute;
right: 5em;
}

.item_logout{
position: absolute;
right: 1em;
}

/*.profile{
min-height: 100%;
width: 800px;
text-align: justify;
margin: auto;
margin-top: 20px;
}*/

.profile_edit{
}

.edit_profile_avatar{
#display: table;
#flex-wrap: wrap;
background: #A8E4A0;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
#height: 135px;
#weight: 200px;
padding-bottom: 5px;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 25px;
}

.edit_profile_avatar img{
  width: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
  margin-right: 20px;
}

.login{
width: 100%;
max-width: 800px;
padding: 15px;
margin: 0 auto;
}

.login li{
color: red;
}

.signup{
width: 100%;
max-width: 800px;
padding: 15px;
margin: 0 auto;
}

/*.signup li{
font-size: 14px;
//color: red;
}*/

.signup:focus{
z-index: 2;
}

.profile_avatar {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
object-position: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
/*border: 4px solid transparent;
background: url('/media/images/border.png');
background-size: 120px;
background-position: center;*/
}

.profile_avatar_user_list {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
object-position: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
/*border: 4px solid transparent;
background: url('/media/images/border.png');
background-size: 80px;
background-position: center;*/
}

/*
.profile_text{
font-family: 'Roboto', sans-serif;
font-family: 'Roboto Slab', serif;
font-size: 30px;
}

.holiday{
overflow: hidden;
font-size: 10px;
}

.holiday dt, .holiday dd{
height: 2.5em;
line-height: 2.5em;
padding: 0 0.625em 0 0.875em;
color: #4C565C;
box-sizing: border-box;
}

dt{
width: 30%;
float: left;
clear: right;
background: #D3E6DD;
font-weight: bold;
border-radius: 10px;
border-spacing: 0;
padding: 0px 10px;
}

dd{
width: 70%;
float: right;
margin-left: 0;
margin-bottom: .3125em;
border: 1px solid #BECFC7;
border-radius: 10px;
border-spacing: 0;
padding: 0px 10px;
}*/

/* Оптимизация под разрешения */ @media only screen and (max-width : 1024px){

    .container{
    max-height: 100%;
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }

    .no_login_user{
    height: 10vh;
    }

}

/* Оптимизация под Surface Pro 7 */ @media only screen and (max-width : 912px){

    .container{
    max-height: 100%;
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }

    .index_container{
    height: 100%;

    }

    .no_login_user{
    height: 10vh;
    }

    .index_button_login {
    width: 220px;
    height: 60px;
    }

    .index_button_signup {
    width: 220px;
    height: 60px;
    }

    .button {
    width: 220px;
    }
}

/* Оптимизация под iPadAir */ @media only screen and (max-width : 820px){

    .no_login_user{
    height: 8vh;
    }
}

/* Оптимизация под разрешения */ @media only screen and (max-width : 760px){

    .no_login_user{
    height: 10vh;
    }


    .profile_text{
    font-size: 25px;
    }
    /*
    dd{
    width: 70%;
    padding: 0px 5px;
    font-size: 13px;
    }

    dt{
    width: 30%;
    padding: 0px 5px;
    font-size: 12px;
    }
    */

    .item_user{
    all: revert;
    }

    .item_logout{
    all: revert;
    }

    .item_login{
    all: revert;
    }

    .item_signup{
    all: revert;
    }

    /*
    .profile{
    min-height: 100%;
    box-shadow: none;
    width: 455px;
    text-align: justify;
    padding: 10px 0 0 0;
    margin: 0 auto 0;
    border-radius: none;
    margin-top: none;
    }
    */
}

/* Оптимизация под разрешения */ @media only screen and (max-width : 540px){

    .container{
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }

    .no_login_user{
    height: 15vh;
    }

    .index_button_login {
    width: 220px;
    height: 60px;
    }

    .index_button_signup {
    width: 220px;
    height: 60px;
    }

    .button {
    width: 220px;
    }
}

@media only screen and (min-width : 992px){

    .container{
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }
}

/* Оптимизация под разрешения */ @media only screen and (max-width : 510px){

    .container{
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }

    .no_login_user{
    height: 15vh;
    }

    .index_button_login {
    width: 210px;
    height: 60px;
    }

    .index_button_signup {
    width: 210px;
    height: 60px;
    }

    .button {
    width: 210px;
    }
}

/* Оптимизация под разрешения */ @media only screen and (max-width : 490px){

    .button {
    width: 180px;
    height: 80px;
    margin: 10px;
    }

    .no_login_user{
    height: 15vh;
    }

    .index_button_login {
    width: 180px;
    height: 50px;
    }

    .index_button_signup {
    width: 180px;
    height: 50px;
    }


    .profile_text{
    font-size: 25px;
    }
/*
    dd{
    width: 68%;
    padding: 0px 2px;
    }

    dt{
    width: 32%;
    padding: 0px 5px;
    font-size: 12px;
    }
*/

    .item_user{
    all: revert;
    }

    .item_logout{
    all: revert;
    }

    .item_login{
    all: revert;
    }

    .item_signup{
    all: revert;
    }

    /*.profile{
    min-height: 100%;
    box-shadow: none;
    width: 395px;
    text-align: justify;
    padding: 10px 0 0 0;
    margin: 0 auto 0;
    border-radius: none;
    margin-top: none;
    }*/
}

/* Оптимизация под разрешения */ @media only screen and (max-width : 430px){

    .container{
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }

    .no_login_user{
    height: 12vh;
    }

    .index_button_login {
    width: 110px;
    height: 50px;
    }

    .index_button_signup {
    width: 190px;
    height: 50px;
    }

    .button {
    width: 300px;
    height: 60px;
    }
}

/* Оптимизация под iPhone XR */ @media only screen and (max-width : 414px){

    .container{
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }

    .no_login_user{
    height: 10vh;
    }

    .index_button_login {
    width: 140px;
    height: 50px;
    }

    .index_button_signup {
    width: 190px;
    height: 50px;
    }

    .button {
    width: 340px;
    height: 70px;
    }
}

/* Оптимизация под Galaxy S20 Ultra */ @media only screen and (max-width : 412px){

    .container{
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }

    .no_login_user{
    height: 10vh;
    }

    .index_button_login {
    width: 140px;
    height: 50px;
    }

    .index_button_signup {
    width: 180px;
    height: 50px;
    }

    .button {
    width: 340px;
    }
}

/* Оптимизация под Pixel 5 */ @media only screen and (max-width : 393px){

    .container{
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }

    .no_login_user{
    height: 10vh;
    }

    .index_button_login {
    width: 130px;
    height: 50px;
    }

    .index_button_signup {
    width: 190px;
    height: 50px;
    }

    .button {
    width: 340px;
    }
}

/* Оптимизация под iPhone 12 Pro */ @media only screen and (max-width : 390px){

    .container{
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }

    .no_login_user{
    height: 10vh;
    }

    .index_button_login {
    width: 120px;
    height: 50px;
    }

    .index_button_signup {
    width: 180px;
    height: 50px;
    }

    .button {
    width: 340px;
    }
}

/* Оптимизация под iPhone SE */ @media only screen and (max-width : 375px){

    .container{
    padding-bottom: 10px;
    }

    .container.index {
    padding-bottom: 10px;
    }

    .no_login_user{
    height: 10vh;
    }

    .index_button_login {
    width: 110px;
    height: 50px;
    font-size: 20px;
    }

    .index_button_signup {
    width: 180px;
    height: 50px;
    font-size: 20px;
    }

    .button {
    width: 340px;
    }
}

/* Оптимизация под Galaxy S8+ */ @media only screen and (max-width : 360px){

    .index_title_h1{
    font-size: 30px;
    }

    .container{
    padding-bottom: 10px;
    }

    .no_login_user{
    height: 10%;
    }

    .index_button_login {
    width: 80%;
    height: 45px;
    font-size: 20px;
    }

    .index_button_signup {
    width: 80%;
    height: 45px;
    font-size: 20px;
    }

    .button {
    max-width: 100%;
    height: 70px;
    }
}

/* Оптимизация под Galaxy Fold */ @media only screen and (max-width : 280px){

    .container{
    padding-bottom: 10px;
    }

    .index_title_h1{
    font-size: 20px;
    }

    .no_login_user{
    height: 10%;
    }

    .index_button_login {
    width: 90px;
    height: 35px;
    font-size: 15px;
    }

    .index_button_signup {
    width: 120px;
    height: 35px;
    font-size: 15px;
    }

    .button {
    width: 230px;
    font-size: 19px;
    }

    .footer p{
    margin-top: -4px;
    font-size: 10px;
    }
}
