@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #EAEAEA;
    color: #2c2c2c;
    line-height: 1.6;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow-x: hidden;
}

@font-face {
    font-family: "Spell";
    src: url("../public/fonts/Spell.ttf") format("truetype");
    font-weight: 400;
  }

  @font-face {
    font-family: "NexaText";
    src: url("../public/fonts/Nexa-Regular.otf") format("opentype");
    font-weight: 400;
  }

  @font-face {
    font-family: "NexaText";
    src: url("../public/fonts/NexaText-Bold.otf") format("opentype");
    font-weight: 700;
  }

.container{
    padding-left: 24px;
    padding-right: 24px;
}
.main {
    padding-top: 64px;
    width: 100%;
    display: flex
;
    flex-direction: column;
    height: 100%;
}
.main_button_catalog {
    outline: none;
    border: none;
    color: #EAEAEA;
font-family: "NexaText", sans-serif;
font-size: 16px;
text-align: center;
font-style: normal;
font-weight: 700;
line-height: normal;
padding-top: 18px;
text-transform: uppercase;
padding-bottom: 18px;
width: 100%;
border-radius: 15px;
background: linear-gradient(89deg, #1E1E1E 3.6%, #2A0F0F 100%);
}

.main_button_add {
    margin-top: 8px;
    width: 100%;
    height: auto;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all .5s;
    color: #EAEAEA;
font-family: "NexaText", sans-serif;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: normal;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 20px;
border: 1px solid #6B0000;
background: linear-gradient(90deg, #5F0016 -15.88%, #D6A524 223.24%);
margin-bottom: 24px;
}

.main_button_add:hover{
    opacity: .5;
}


.main_catalog {
    width: 100%;
    border-radius: 30px 30px 0 0;
    background: #1a181d url(../public/images/main_catalog_liner.png) top no-repeat;
    background-size: 100% auto;
    transition: transform 0.3s ease-out;
    will-change: transform;
    margin-top: auto;
}

.main_catalog.show {
    transform: translateY(0);
}
.main_catalog_content {
    padding: 40px 24px;
    position: relative;
}
.main_catalog_up {
display: flex;
align-items: center;
}
.main_catalog_up_tittle {
    color: #EAEAEA;
font-family: "NexaText", sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.main_catalog_up_filter {
    vertical-align: middle;
    margin-left: auto;
    cursor: pointer;
    transition: all .5s;
}
.main_catalog_up_filter:hover{
    opacity: .5;
}
.main_catalog_clear {
    margin-top: 80px;
    flex-direction: column;
    gap: 8px;
    display: none;
}
.main_catalog_clear_hearth {
    vertical-align: middle;
    display: block;
    margin: 0 auto;
}
.main_catalog_clear_tittle {
    color:#EAEAEA;
/* заголовоки  Nexa/20 В */
font-family: "NexaText", sans-serif;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-align: center;
}
.main_catalog_clear_text {
    color: #B6B6B6;
text-align: center;
/* основной Spell/14 R */
font-family: "Spell", sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
max-width: 191px;
display: block;
margin: 0 auto;
}
.main_catalog_agency {
    width: 100%;
    height: auto;
    margin-top: 24px;
    padding-bottom: 24px;
}
.main_catalog_agency_blocks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
}
.main_catalog_agency_block {
    width: 100%;
    height: auto;
    border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.10);
background: linear-gradient(180deg, rgba(234, 234, 234, 0.10) 0%, rgba(118, 118, 118, 0.10) 100%);
backdrop-filter: blur(5px);
}
.main_catalog_agency_block_content {
    padding: 8px 16px;
}
.main_catalog_agency_block_up {
    display: flex;
    align-items: center;
}
.main_catalog_agency_block_up_tittle {
    color: #EAEAEA;
font-family: "NexaText", sans-serif;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.main_catalog_agency_block_up_price {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 2.5px 10px;
    border-radius: 10px;
background: linear-gradient(90deg, #5F0016 -15.88%, #D6A524 223.24%);
color: #EAEAEA;
font-family: "NexaText", sans-serif;
margin-left: auto;
font-size: 10px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.main_catalog_agency_block_text {
    margin-top: 18px;
 width: 100%;
 height: auto;
 border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.10);
background:rgba(234, 234, 234, 0.10);
    padding: 8px 16px;
    color: #EAEAEA;
    /* основной Spell/10 R */
    font-family: "Spell", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    word-break: break-all;
}
.main_catalog_agency_block_info{
    margin-top: 18px;
    display: flex;
    align-items: center;
}
.main_catalog_agency_block_info_country {
    color:#EAEAEA;
/* заголовоки  Nexa/14 B */
font-family: "NexaText", sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.main_catalog_agency_block_info_rating {
    margin-left: auto;
    border-radius: 10px;
border: 1px solid rgba(234, 234, 234, 0.10);
}
.main_catalog_agency_block_info_rating_content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
}
.main_catalog_agency_block_info_rating_tittle {
    color: #EAEAEA;

font-family: "Spell", sans-serif;
font-size: 10px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.main_catalog_agency_block_info_rating_rect {
    width: fit-content;
    border-radius: 10px;
background: rgba(234, 234, 234, 0.10);
}
.main_catalog_agency_block_info_rating_rect_content {
    padding: 2.5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.main_catalog_agency_block_info_rating_rect_tittle {
    color: #EAEAEA;
font-family: "Spell", sans-serif;
font-size: 10px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.main_catalog_agency_block_info_rating_rect_stars {
    vertical-align: middle;
}
.main_catalog_agency_block_button {
    margin-top: 16px;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all .5s;
    color: #EAEAEA;
font-family: "NexaText", sans-serif;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: normal;
width: 100%;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 20px;
border: 1px solid #6B0000;
background: linear-gradient(90deg, #5F0016 -15.88%, #D6A524 223.24%);
}
.main_catalog_agency_block_button:hover{
    opacity: .5;
}






.main_create_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.main_create_overlay.show {
    display: block;
    opacity: 1;
}

/* Блокируем прокрутку body когда overlay показан */
body.overlay-open {
    overflow: hidden;
}

.main_filter_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.main_filter_overlay.show {
    display: block;
    opacity: 1;
}

.main_create {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(89deg, #1E1E1E 3.6%, #2A0F0F 100%);
    height: 100%;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.main_create.show {
    transform: translateY(0);
}
.main_create_content {
    position: relative;
}
.main_create_up_content{
    padding-top: 10px;
    padding-bottom: 27px;
}
.main_create_line {
    width: 80px;
height: 2px;
display: block;
margin: 0 auto;
border-radius: 3px;
background: #EAEAEA;
}
.main_create_tittle {
    margin-top: 16px;
    color: #EAEAEA;
/* заголовоки  Nexa/20 В */
text-align: center;
font-family: "NexaText", sans-serif;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.main_create_main {
    width: 100%;
    height: 100%;
background: #EAEAEA;
}
.main_create_main_content {
    padding: 32px 24px;
    max-height: 650px;
    overflow-y: auto;
    height: 100%;
}
.main_create_main_blocks {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.main_create_main_block {
    width: 100%;
    height: auto;
}

.main_create_main_block_tittle {
    color: #1A181D;
/* заголовоки  Nexa/16 В */
font-family: "NexaText", sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.main_create_main_block_items {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.main_create_main_block_item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.main_create_main_block_input {
    width: 100%;
    height: auto;
    outline: none;
    border-radius: 15px;
border: 1px solid #B6B6B6;
padding: 10px 20px;
color: #1A181D;
font-family: "Spell", sans-serif;
font-size: 16px;
background: transparent;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.main_create_main_block_input::placeholder{
    color: #B6B6B6;
}

/* Скрываем стрелки у input[type="number"] */
.main_create_main_block_input[type="number"]::-webkit-inner-spin-button,
.main_create_main_block_input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.main_create_main_block_input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
.main_create_main_block_item_input_block_alert{
    color: #C2002D;
font-family: "Spell", sans-serif;
font-size: 12px;
font-style: normal;
font-weight: 400;
margin-top: 10px;
line-height: normal;
display: none;
}
.main_create_main_block_item_input_block{
    width: 100%;
}
.main_create_main_block_textarea {
    width: 100%;
    height: auto;
    resize: none;
    height: 100px;
    border-radius: 15px;
border: 1px solid #B6B6B6;
padding: 10px 20px;
outline: none;
color: #1A181D;
font-family: "Spell", sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
background: transparent;
}
.main_create_main_block_textarea::placeholder{
    color: #B6B6B6;
}
.main_create_main_buttons {
    display: flex;
    align-items: center;
    margin-top: 24px;
    gap: 15px;
}
.main_create_main_button {
    outline: none;
    border: none;
    cursor: pointer;
    transition: all .5s;
    border-radius: 20px;
background: #D7D7D7;
color: #EAEAEA;
font-family: "Inter", sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
display: flex;
align-items: center;
gap: 10px;
padding-top:15.5px;
padding-bottom: 15.5px;
width: 100%;
justify-content: center;
border-radius: 30px;
border: 1px solid #6B0000;
background: linear-gradient(0deg, rgba(19, 0, 0, 0.40) 0%, rgba(19, 0, 0, 0.40) 100%), linear-gradient(90deg, #5F0016 -15.88%, #D6A524 223.24%);
margin-top: 63.5px;
display: none;
}
.main_create_main_button svg{
    vertical-align: middle;
}

.main_create_main_button:hover{
    opacity: .5;
}

.main_create_main_buttons .main_create_main_button:first-child{
    font-weight: 700;
    color: #999;
    background: #D7D7D7;
border: 1px solid #D7D7D7;
}

.main_create_main_buttons .main_create_main_button:last-child{
    font-weight: 700;
    color: #EAEAEA;
    border: 1px solid #6B0000;
    background: linear-gradient(90deg, #5F0016 -15.88%, #D6A524 223.24%);
}
.main_create_main_buttons .main_create_main_button{
    margin-top: 0px;
    display: block;
}







/* Стили модального окна сортировки */
.sort-modal {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .sort-modal.show {
    display: flex;
    opacity: 1;
  }
  .sort-modal-content {
    background: #fff;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 16px;
  }
  .sort-modal.show .sort-modal-content {
    transform: translateY(0);
  }
  .sort-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    min-height: 56px;
  }
  .sort-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
  }
.sort-options{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

  .sort-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .sort-option:hover {
    background: #f8f9fa;
  }
  .sort-option input[type="radio"] {
    margin: 0 12px 0 0;
    width: 18px;
    height: 18px;
    accent-color: #5F0016;
  }
  .sort-option-text {
    color: #1A181D;
    font-family: "Spell", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  .sort-actions {
    display: flex;
    gap: 15px;
    justify-content: stretch;
    margin-top: 40px;
  }
  .sort-modal #addAgencyForm {
    padding: 12px 20px 20px;
  }
  .apply-sort-btn {
    color: #EAEAEA;
    font-family: "NexaText", sans-serif;
    font-size: 16px;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all .5s;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 20px;
border: 1px solid #6B0000;
width: 100%;
background: linear-gradient(90deg, #5F0016 -15.88%, #D6A524 223.24%);
  }
  .cancel-sort-btn {
    cursor: pointer;
    transition: all .5s;
    color: #999;
    font-family: "NexaText", sans-serif;
    outline: none;
    border: none;
    padding-bottom: 13px;
    padding-top: 13px;
    width: 100%;
    border-radius: 20px;
background: #D7D7D7;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }
  .cancel-sort-btn:hover {
    background: #eee;
  }

  .main_filter{
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(89deg, #1E1E1E 3.6%, #2A0F0F 100%);
    height: 100%;
    height: auto;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    will-change: transform;
  }

  .main_filter.show {
    transform: translateY(0);
  }

  .main_filter_tittle{
    color: #EAEAEA;
text-align: center;
font-family: "NexaText", sans-serif;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin-top: 16px;
  }
.main_filter_main{
    width: 100%;
    height: auto;
background: #FFF;
}
  .main_filter_main_content{
padding: 22px 24px;
padding-bottom: 32px;
  }

  .main_filter_up{
    width: 100%;
    height: auto;

    background: linear-gradient(89deg, #1E1E1E 3.6%, #2A0F0F 100%);
  }


  .main_review_add {
    margin-top: 8px;
    width: 100%;
    height: auto;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all .5s;
    color: #EAEAEA;
font-family: "NexaText", sans-serif;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: normal;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 20px;
border: 1px solid #6B0000;
background: linear-gradient(90deg, #5F0016 -15.88%, #D6A524 223.24%);
margin-bottom: 24px;
}

.main_review_edit{
    margin-left: auto;
    width: fit-content;
    height: auto;
    outline: none;
    cursor: pointer;
    transition: all .5s;
    color: #EAEAEA;
    font-family: "NexaText", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid #6B0000;
    background: linear-gradient(90deg, #5F0016 -15.88%, #D6A524 223.24%);
}
.main_review_edit:hover{
    opacity: .5;
}

.main_review_add:hover{
    opacity: .5;
}

.main_review_back {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #D7D7D7;
font-family: "Spell", sans-serif;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: normal;
margin-top: 28.5px;
}

.main_review_back:hover {
    opacity: .5;
}


.main_review_ratings {
    width: 100%;
    height: auto;
    margin-top: 24px;
}
.main_review_ratings_blocks {
    display: grid;
    grid-template-columns: 120px calc(100% - 184px);
    grid-column-gap: 64px;
}
.main_review_ratings_block {
    width: 100%;
    height: 100%;
}
.main_review_ratings_tittle {
    color: #EAEAEA;
text-align: center;
font-family: "NexaText", sans-serif;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.main_review_ratings_stars {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main_review_ratings_star {
    vertical-align: middle;
}
.main_review_ratings_all {
    margin-top: 8px;
    color: #B6B6B6;
text-align: center;
font-family: "Spell", sans-serif;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.main_review_ratings_block_items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.main_review_ratings_block_item {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.main_review_ratings_block_item_tittle {
    color: #EAEAEA;
text-align: center;
font-family: "NexaText", sans-serif;
font-size: 10px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.main_review_ratings_block_item_rect {
    width: 100%;
    height: 5px;
    border-radius: 10px;
    background: #D7D7D7;
}
.main_review_ratings_block_item_rect_stat {
    width: 50%;
    height: 100%;
    background: #C2002D;
    border-radius: 10px;
}
.main_review_ratings_block_item:first-child .main_review_ratings_block_item_rect_stat{
    width: 100%;
}
.main_review_ratings_block_item:nth-child(2) .main_review_ratings_block_item_rect_stat{
    width: 70%;
}
.main_review_ratings_block_item:nth-child(3) .main_review_ratings_block_item_rect_stat{
    width: 50%;
}
.main_review_ratings_block_item:nth-child(4) .main_review_ratings_block_item_rect_stat{
    width: 30%;
}
.main_review_ratings_block_item:last-child .main_review_ratings_block_item_rect_stat{
    width: 10%;
}
.main_review_blocks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: auto;
    margin-top: 48px;
}
.main_review_block {
    width: 100%;
    height: auto;
    border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.10);
background: linear-gradient(180deg, rgba(234, 234, 234, 0.10) 0%, rgba(118, 118, 118, 0.10) 100%);
backdrop-filter: blur(5px);
}
.main_review_block_content {
    padding: 8px 16px;
}
.main_review_block_up {
    display: flex;
    align-items: center;
}
.main_review_block_tittle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #EAEAEA;

font-family: "NexaText", sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.main_review_block_tittle img{
    vertical-align: middle;
    object-fit: cover;
    border-radius: 100px;
    width: 30px;
    height: 30px;
}
.main_review_block_date {
    color: #999;
font-family: "Spell", sans-serif;
font-size: 10px;
font-style: normal;
font-weight: 400;
line-height: normal;
margin-left: auto;
}
.main_review_block_text {
 margin-top: 16px;
 border-radius: 10px;
 border: 1px solid rgba(255, 255, 255, 0.10);
 background: rgba(234, 234, 234, 0.10);
 padding: 8px 16px;
 color: #EAEAEA;
font-family: "Spell", sans-serif;
font-size: 10px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.main_review_block_info {
    margin-top: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}
.main_review_block_info_stars {
    display: flex;
    align-items: center;
}
.main_review_block_info_star {
    vertical-align: middle;
}
.main_review_block_info_text {
    color: #999;
text-align: center;
font-family: "Spell", sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
}



.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
  
  .modal.show {
    display: flex;
  }
  
  .modal-content {
    background: linear-gradient(89deg, #1E1E1E 3.6%, #2A0F0F 100%);    margin: 20px;
    padding: 24px;
    border-radius: 20px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(221, 160, 221, 0.3);
    border: 2px solid rgba(221, 160, 221, 0.2);
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  }
  
  .modal-header h2 {
    color: #8b008b;
    font-size: 24px;
    font-weight: 700;
  }

  .modal-title{
    color: #EAEAEA;

font-family: "NexaText", sans-serif;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: normal;
  }

  .close-modal{
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all .5s;
  }

  .close-modal:hover{
    opacity: .5;
  }






.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.close-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 8px;
    background: #3a3a3a;
    color: #fff;
    font-size: 14px;
    font-family: inherit;

    border-radius: 15px;
border: 1px solid #B6B6B6;
background: transparent;
}

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


.submit-review-btn{
    color: #EAEAEA;
    font-family: "NexaText", sans-serif;
    padding-top: 13px;
    padding-bottom: 13px;
    width: 100%;
    height: auto;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all .5s;
    border-radius: 20px;
border: 1px solid #6B0000;
background: linear-gradient(90deg, #5F0016 -15.88%, #D6A524 223.24%);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.submit-review-btn:hover{
    opacity: .5;
}

.rating-star-btn{
    background: transparent;
    outline: none;
    border: none;
}

.rating-star-btn svg{
    vertical-align: middle;
}

.rating-star-btn svg path{
    fill:#D6A524; 
}


@media (max-height: 555px){
    /* .main_create{
        max-height: 300px;
    } */
    .main_create_main_content{
        padding-bottom: 220px;
    }
    
   .main_filter{
    max-height: 350px;
   }
}



#editAgencyForm .main_create_main_block_tittle{
    display: none;
}

#editAgencyForm .main_create_main_block_items{
    margin-top: 0px;
}

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a181d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-spinner {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heartbeat 1.2s ease-in-out infinite;
    position: relative;
}

.preloader-spinner svg {
    width: 100%;
    height: 100%;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.2);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.2);
    }
    70% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}