html, body{
    margin: 0;
    font-family: "Playfair", serif;
    background-color: #FAF9F6;
}

* {
    font-family: 'Playfair Display', serif;
}

/* Picture элементы должны быть прозрачными для стилей */
picture {
    display: contents;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

/* Убеждаемся, что img внутри picture наследует все стили */
picture > img {
    display: block;
}

/* Специальное правило для img-left-faq внутри flex контейнера */
.div-left-faq picture {
    display: contents;
    width: 100%;
    height: 100%;
}

.div-left-faq picture > img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Fallback для браузеров без поддержки display: contents */
@supports not (display: contents) {
    picture {
        display: block;
        width: 100%;
        height: 100%;
    }
    
    picture > img {
        width: 100%;
        height: 100%;
        display: block;
    }
}

/*SECTION 1*/
.book-section-1{
    margin-top: 40px;
    margin-bottom: 10vh;
}

/* Hide carousel by default (desktop and mobile) */
.book-carousel-wrapper {
    display: none;
}

.div-main-book-section-1{
    display: flex;
    justify-content: center;
    width: 100%;
}

.div-left-book{
    width: 30%;
}

.div-right-book{
    width: 30%;
}

.img-left-book{
    display: flex;
    width: 100%;
    max-height: 50vh;
    object-fit: cover;
}


.div-center-book {
    width: 60%;
    max-width: 600px;
    margin: 0 auto;
    padding: clamp(30px, 5vh, 50px) 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.div-text-center-book {
    text-align: center;
    margin-bottom: clamp(30px, 5vh, 50px);
}

.main-text-book {
    font-size: clamp(24px, 2vw, 40px);
    color: #4C3B34;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.24em;
}

.sub-text-book {
    font-size: clamp(16px, 1.2vw, 22px);
    color: #817773;
    font-family: 'Playfair';
    font-style: italic;
    font-weight: 300;
}

/* Форма */
.div-booking-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 7vh, 77px);
    align-items: center;
}

.form-item {
    display: flex;
    align-items: center;
    border: 1px solid #817773;
    overflow: hidden;
    width: 90%;
}

.form-item-number {
    width: 10%;
    background: #4C3B34;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.5vw;
}

.form-item-number span {
    font-family: 'Montagu Slab', serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(16px, 2vw, 36px);
    line-height: 1.9;
    letter-spacing: 0.05em;
    color: #FFFFFF;
}


.form-item-input {
    flex: 1;
    padding: 12px 16px;
    position: relative;
}

.form-item-input input {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(129, 119, 115, 0.7);
    outline: none;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 400;
    color: #817773;
    background: #FAF9F6;
    font-size: clamp(20px, 1.5vw, 24px);
    color: rgba(129, 119, 115, 0.7);
    padding: 1px 0;
}

.form-item-input input::placeholder {
    color: rgba(129, 119, 115, 0.7);
    text-decoration: none; /* убираем подчёркивание у плейсхолдера */
}

.form-item-input input:focus {
    border-bottom: 2px solid rgba(129, 119, 115, 1);
}

.form-item-input select {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(129, 119, 115, 0.7);
    outline: none;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 400;
    color: #817773;
    font-size: clamp(20px, 1.5vw, 24px);
    color: rgba(129, 119, 115, 0.7);
    padding: 1px 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%23817773' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 0;
    accent-color: #817773 !important;
    color-scheme: light !important;
    /* Force remove any blue colors */
    -webkit-tap-highlight-color: transparent !important;
}

.form-item-input select:hover {
    border-bottom-color: rgba(129, 119, 115, 0.9);
    color: rgba(129, 119, 115, 0.9);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%23817773' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
}

.form-item-input select:focus {
    border-bottom: 2px solid rgba(129, 119, 115, 1);
    color: #817773;
    box-shadow: 0 4px 12px rgba(129, 119, 115, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%23817773' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.form-item-input select:active,
.form-item-input select:focus:active {
    border-bottom: 2px solid rgba(129, 119, 115, 1);
    box-shadow: 0 2px 8px rgba(129, 119, 115, 0.25);
}

.form-item-input select:not([value=""]) {
    color: #817773;
}

.form-item-input select option {
    color: #817773 !important;
    padding: 14px 16px;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.6;
    min-height: 48px;
    display: flex;
    align-items: center;
}

/* COMPLETE REMOVAL OF BLUE AND WHITE - Ultra aggressive override */
.form-item-input select option {
    background-color: #FAF9F6 !important;
    background: #FAF9F6 !important;
    color: #817773 !important;
}

/* Hover state - brown background, brown text (NO WHITE, NO BLUE) */
.form-item-input select option:hover,
.form-item-input select option:focus,
.form-item-input select option:active,
.form-item-input select option:focus-visible {
    background: rgba(129, 119, 115, 0.4) !important;
    background-color: rgba(129, 119, 115, 0.4) !important;
    color: #817773 !important;
    outline: none !important;
    border: none !important;
    -webkit-tap-highlight-color: rgba(129, 119, 115, 0.4) !important;
}

/* Selected/Checked state - darker brown, brown text (NO WHITE, NO BLUE) */
.form-item-input select option:checked,
.form-item-input select option[selected] {
    background: rgba(129, 119, 115, 0.5) !important;
    background-color: rgba(129, 119, 115, 0.5) !important;
    color: #817773 !important;
    font-weight: 500 !important;
}

.form-item-input select option:checked:hover {
    background-color: rgba(129, 119, 115, 0.5) !important;
    color: #817773 !important;
}

/* Remove all default browser blue highlights */
.form-item-input select,
.form-item-input select:hover,
.form-item-input select:focus,
.form-item-input select:active {
    -webkit-tap-highlight-color: transparent !important;
}

/* For WebKit browsers - remove blue highlight completely */
.form-item-input select::-webkit-select-option {
    background-color: #FAF9F6 !important;
    color: #817773 !important;
}

.form-item-input select option:first-child {
    color: rgba(129, 119, 115, 0.7);
    font-style: italic;
}

/* Additional browser-specific overrides */
.form-item-input select::-ms-expand {
    display: none;
}

/* For WebKit browsers (Chrome, Safari, Edge) - remove blue highlight completely */
.form-item-input select option:checked {
    background-color: rgba(129, 119, 115, 0.5) !important;
    color: #817773 !important;
}

/* Additional WebKit overrides for option hover - NO BLUE, NO WHITE */
.form-item-input select option:hover {
    background: rgba(129, 119, 115, 0.4) !important;
    background-color: rgba(129, 119, 115, 0.4) !important;
    color: #817773 !important;
}

/* Remove any blue selection color */
.form-item-input select option::selection {
    background: rgba(129, 119, 115, 0.4) !important;
    color: #817773 !important;
}

/* WebKit specific pseudo-elements */
.form-item-input select option::-webkit-select-option {
    background-color: #FAF9F6 !important;
    color: #817773 !important;
}

.form-item-input select option::-webkit-select-option:hover {
    background-color: rgba(129, 119, 115, 0.4) !important;
    color: #817773 !important;
}

.form-item-input select option::-webkit-select-option:checked {
    background-color: rgba(129, 119, 115, 0.5) !important;
    color: #817773 !important;
}

/* For Firefox - NO BLUE, NO WHITE */
@-moz-document url-prefix() {
    .form-item-input select option:hover,
    .form-item-input select option:focus,
    .form-item-input select option:active {
        background-color: rgba(129, 119, 115, 0.4) !important;
        color: #817773 !important;
    }
    
    .form-item-input select option:checked {
        background-color: rgba(129, 119, 115, 0.5) !important;
        color: #817773 !important;
    }
}

/* Try to prevent default selection highlight - additional override */
.form-item-input select {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* Final comprehensive override - ensure NO blue or white anywhere */
.form-item-input select,
.form-item-input select *,
.form-item-input select option,
.form-item-input select option * {
    /* Remove any potential blue colors */
    background-color: #FAF9F6 !important;
    color: #817773 !important;
}

.form-item-input select option:hover,
.form-item-input select option:focus,
.form-item-input select option:active,
.form-item-input select option:checked {
    background-color: rgba(129, 119, 115, 0.4) !important;
    color: #817773 !important;
    /* Explicitly prevent white text */
    -webkit-text-fill-color: #817773 !important;
}

/* Additional Firefox overrides - NO BLUE, NO WHITE */
@-moz-document url-prefix() {
    .form-item-input select option:checked,
    .form-item-input select option:hover {
        background-color: rgba(129, 119, 115, 0.4) !important;
        color: #817773 !important;
    }
    
    .form-item-input select option:checked:hover {
        background-color: rgba(129, 119, 115, 0.5) !important;
        color: #817773 !important;
    }
}

.btn-second-non-active{
    width: clamp(200px, 15vw, 300px);
    height: clamp(50px, 3.5vw, 70px);
    color: #FAF9F6;
    background-color: #4C3B34;
    border: 1.5px solid #FAF9F6;
    border-radius: 30px;
    cursor: pointer;
    font-size: clamp(22px, 1.8vw, 34px);

    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-second-non-active:hover {
    color: #FAF9F6;
    background-color: #817773;
}


/*SECTION 2*/
.book-section-2{
    margin-bottom: 10vh;
}

.div-main-faq-section-2 {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.div-left-faq {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: height 0.2s ease; /* плавная подстройка высоты */
    height: 50vh; /* изначальная высота 75% экрана */
}

.img-left-faq {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 50vh;
}

/* Убеждаемся, что img с классом img-left-faq внутри picture работает правильно */
.div-left-faq picture > img.img-left-faq {
    width: 100% !important;
    height: 100% !important;
    min-height: 50vh !important;
    object-fit: cover !important;
    display: block !important;
}

.div-right-faq {
    width: 60%;
    margin-left: 5vw;
}

.main-text-faq {
    font-size: clamp(24px, 2vw, 36px);
    color: #817773;
    margin-bottom: 2rem;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.link-srev-faq{
    font-family: 'Playfair';
    font-style: normal;
    color: #817773;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.link-srev-faq:hover{
    font-weight: 700;
}

.link-srev-faq::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;          /* самая высокая точка, ближе уже не будет */
    height: 1px;        /* толщина линии */
    background: currentColor;
}

/* Аккордеон */
.faq-item {
    border: 1px solid #817773;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    background: #4C3B34;
    cursor: pointer;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 400;
    color: #FAF9F6;
    transition: background 0.5s;
    line-height: 1.7;
    letter-spacing: 0.2em;
    font-size: clamp(22px, 1.5vw, 32px);
}

.faq-question:hover {
    background: #9E9794;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.5s ease, padding 0.5s ease;
    color: #817773;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    /* fallback if JS is off; script sets exact scrollHeight for animation */
    max-height: min(4000px, 500vh);
    padding: 16px 20px;
    background: #FAF9F6;
    color: #817773;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 1.8;
    width: 75ch;

}



@media (max-width: 1024px) {
    .book-section-1{
        margin-bottom: 0;
    }
    .div-left-book{
        width: 30%;
    }
    .div-right-book{
        width: 30%;
    }
    .div-center-book{
        width: 40%;
    }
    .div-text-center-book{
        margin-bottom: 2vh;
    }
    .main-text-book{
        margin-top: 0;
        margin-bottom: 1vh;
    }
    .div-booking-form{
        gap: clamp(20px, 2.5vh, 30px);
    }
    .form-item-number span{
        line-height: 2.2;
        font-size: clamp(16px, 2.5vw, 36px);
    }
    .form-item-input input{
        font-size: clamp(15px, 1.8vw, 22px);
    }
    .form-item-input select{
        font-size: clamp(15px, 1.8vw, 22px);
    }

    .book-section-2{
        margin-bottom: 0;
    }
    .img-left-faq{
        min-height: 0;
    }
    .div-left-faq{
        width: 45%;
    }
    .div-right-faq{
        width: 55%;
        margin-left: 0;
    }
}

@media (min-width: 481px) and (max-width: 1023px) {
    .book-section-1{
        margin-top: 100px
    }
    /* Hide side images on tablet */
    .div-left-book,
    .div-right-book {
        display: none;
    }

    /* Show carousel */
    .book-carousel-wrapper {
        display: block;
        width: 100%;
        margin: 30px auto;
    }

    .book-carousel-wrapper .div-slider {
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .book-carousel-wrapper .div-slider-content {
        display: flex;
        transition: transform 0.1s linear;
    }

    .book-carousel-wrapper .slider-img {
        width: 50%;
        flex-shrink: 0;
        object-fit: cover;
        max-height: 70vh;
    }
    
    /* Убеждаемся, что picture в слайдерах не влияет на размеры */
    .book-carousel-wrapper .div-slider-content picture.slider-img,
    .book-carousel-wrapper .div-slider-content picture > img.slider-img {
        width: 50% !important;
        flex-shrink: 0 !important;
        object-fit: cover !important;
        max-height: 70vh !important;
        display: block !important;
    }

    /* Adjust center section for tablet */
    .div-center-book {
        width: 90%;
        max-width: 600px;
    }

    .div-center-book{
        padding: 2vh 0;
    }

    .main-text-book{
        font-size: clamp(40px, 5.5vw, 60px);
    }

    .sub-text-book{
        font-size: clamp(25px, 3.5vw, 40px);
    }

    .div-booking-form {
        gap: clamp(18px, 2vh, 25px);
    }
    .faq-item{
        width: 95%;
    }
    .form-item-number{
        width: 15%;
    }

    .form-item-number span{
        font-size: clamp(32px, 6vw, 60px);
    }
    .form-item-input input{
        font-size: clamp(25px, 2.8vw, 30px);
    }
    .form-item-input select{
        font-size: clamp(25px, 2.8vw, 30px);
    }
    .btn-second-non-active{
        width: clamp(300px, 35vw, 400px);
        font-size: clamp(28px, 5vw, 50px);
    }

    .div-left-faq{
        display: none;
    }
    .div-right-faq{
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .main-text-faq{
        font-size: clamp(40px, 5.5vw, 60px);
        letter-spacing: 0.15em;
        line-height: 1;
    }

    .faq-question{
        font-size: clamp(25px, 3.5vw, 40px);
    }

    .faq-item.active .faq-answer{
        font-size: clamp(25px, 2.8vw, 30px);
        width: 90%;
        text-align: start;
    }
}

/* ---------- MOBILE DEVICES (max-width: 480px) ---------- */
@media (max-width: 480px) {
  /* общий контроль */
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  br {
    display: none;
  }

  section {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  /* ---------- SECTION 1 ---------- */
  .book-section-1 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: clamp(80px, 14vh, 100px);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  /* Hide side images on mobile */
  .div-left-book,
  .div-right-book {
    display: none !important;
  }

  /* Show carousel on mobile */
  .book-carousel-wrapper {
    display: block !important;
    width: 100%;
    max-width: 100vw;
    margin: clamp(20px, 3vh, 35px) auto;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .book-carousel-wrapper .div-slider {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
  }

  .book-carousel-wrapper .div-slider-content {
    display: flex;
    transition: transform 0.1s linear;
    width: auto;
  }

  .book-carousel-wrapper .slider-img {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    flex-shrink: 0;
    object-fit: cover;
    max-height: clamp(180px, 25vh, 280px);
    display: block;
  }

  /* Убеждаемся, что picture в слайдерах не влияет на размеры */
  .book-carousel-wrapper .div-slider-content picture,
  .book-carousel-wrapper .div-slider-content picture > img.slider-img {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    flex-shrink: 0 !important;
    object-fit: cover !important;
    max-height: clamp(180px, 25vh, 280px) !important;
    display: block !important;
  }

  .div-main-book-section-1 {
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .div-center-book {
    width: 100% !important;
    max-width: 100%;
    padding: 2vh 4vw;
    margin: 0;
    box-sizing: border-box;
  }

  .div-text-center-book {
    text-align: center;
    margin-bottom: clamp(20px, 3vh, 35px);
    width: 100%;
  }

  .main-text-book {
    font-size: clamp(28px, 7vw, 40px);
    margin: 0 0 clamp(10px, 1.5vh, 15px) 0;
    letter-spacing: 0.15em;
    line-height: 1.3;
  }

  .sub-text-book {
    font-size: clamp(16px, 4vw, 24px);
    line-height: 1.5;
  }

  .div-booking-form {
    width: 100%;
    gap: clamp(20px, 3vh, 35px);
    align-items: center;
  }

  .form-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .form-item-number {
    width: 15%;
    min-width: 50px;
    padding: 0 clamp(8px, 2vw, 12px);
  }

  .form-item-number span {
    font-size: clamp(20px, 6vw, 32px);
    line-height: 2.5;
  }

  .form-item-input {
    width: 85%;
    padding: clamp(10px, 1.5vh, 15px) clamp(12px, 3vw, 20px);
    box-sizing: border-box;
  }

  .form-item-input input {
    font-size: clamp(18px, 4.5vw, 24px);
    padding: clamp(2px, 0.5vh, 4px) 0;
  }

  .form-item-input select {
    font-size: clamp(18px, 4.5vw, 24px);
    padding: clamp(2px, 0.5vh, 4px) clamp(25px, 6vw, 35px) clamp(2px, 0.5vh, 4px) 0;
  }

  .form-item-input select option {
    font-size: clamp(16px, 4vw, 22px);
    padding: clamp(12px, 2vh, 16px) clamp(12px, 3vw, 20px);
  }

  .btn-second-non-active {
    width: clamp(220px, 75vw, 320px);
    height: clamp(50px, 7vh, 65px);
    font-size: clamp(20px, 5vw, 28px);
    border-radius: 30px;
    margin-top: clamp(10px, 1.5vh, 15px);
  }

  /* ---------- SECTION 2 ---------- */
  .book-section-2 {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    margin-bottom: 0;
    padding: 0 4vw;
  }

  .div-main-faq-section-2 {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    box-sizing: border-box;
  }

  .div-left-faq {
    display: none;
  }

  .div-right-faq {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  .main-text-faq {
    font-size: clamp(28px, 7vw, 40px);
    margin: 0 0 clamp(20px, 3vh, 30px) 0;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1.3;
    font-weight: 600;
  }

  .faq-item {
    width: 100%;
    max-width: 100%;
    margin-bottom: clamp(12px, 2vh, 20px);
    box-sizing: border-box;
  }

  .faq-question {
    font-size: clamp(18px, 4.5vw, 26px);
    padding: clamp(12px, 2vh, 18px) clamp(15px, 4vw, 25px);
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .faq-item.active .faq-answer {
    font-size: clamp(16px, 4vw, 24px);
    padding: clamp(12px, 2vh, 18px) clamp(15px, 4vw, 25px);
    width: 100%;
    max-width: 100%;
    text-align: left;
    line-height: 1.6;
    letter-spacing: 0.08em;
    box-sizing: border-box;
  }
}

/* Стили для валидации формы */
.form-item-input input.error,
.form-item-input select.error {
    border-bottom-color: #d32f2f !important;
    color: #d32f2f !important;
}

.form-item-input input.error:focus,
.form-item-input select.error:focus {
    border-bottom-color: #d32f2f !important;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2) !important;
}

.error-message {
    color: #d32f2f;
    font-size: clamp(12px, 2.5vw, 14px);
    margin-top: 4px;
    display: block;
    font-family: 'Playfair Display', serif;
    line-height: 1.4;
}

.form-message {
    padding: clamp(14px, 2vh, 18px) clamp(20px, 4vw, 28px);
    margin-top: clamp(16px, 2.5vh, 24px);
    border-radius: 12px;
    text-align: center;
    font-size: clamp(16px, 1.4vw, 20px);
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(129, 119, 115, 0.15);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.form-message.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

.form-message.success {
    background-color: #817773;
    color: #FAF9F6;
    border: 1.5px solid rgba(250, 249, 246, 0.3);
}

.form-message.error {
    background-color: rgba(211, 47, 47, 0.1);
    color: #c62828;
    border: 1.5px solid rgba(211, 47, 47, 0.3);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

.btn-second-non-active:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}