html.menu-opened {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}
.t-popup__block-close {
    top: 31px!important;
    width: 43px;
    height: 43px;
    right: 0!important;
    left: none!important;
    position: absolute!important;
}
#flexmenu #main-menu.open {
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


#t-header,
#t-header{
    position: sticky;
    top: 0;
    z-index: 99999999;
}

*{
  margin:0;
  padding:0;
  text-decoration:none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
   font-family: 'Open Sans', Arial, sans-serif;
}

nav {
    background: #000000CC;
    position: relative;
    margin: 0 auto;
     font-family: 'Open Sans', Arial, sans-serif;
}
.phone{
    
        display: -webkit-box;
    
        display: -ms-flexbox;
    
        display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    text-wrap-mode: nowrap;
}
.phone a{

      font-size: 17px;
    color: #fff!important;
    font-weight: 600;
    padding: 10px;
    border: 2px solid #fff;
    border-radius: 20px;
     text-wrap-mode: nowrap;
}
.phone span{}
#flexmenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row;
            flex-flow: row;
    background: #000000CC;
    height: 100%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-direction: row;
        flex-direction: row;
        padding: 25px  10px;

}
.logo {
    z-index: 123;
    padding: 10px;
    font: 18px 'yellowtail';
    color: #FFF;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -ms-flex-negative: 1;
        flex-shrink: 1;
    max-width: 200px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.logo a {
    color: #FFF;
}
  .logo img{
    width: 100%;
    max-width: 200px;
    

  }
#main-menu{
    padding-left: 20px;
    max-width: auto;
    gap: 20px;
    text-align: center;
   will-change: transform; 
    backface-visibility: hidden; 
  margin: 0;
}
.sub-menu {
     z-index: 1234;
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(51 51 51)), to(rgba(0, 0, 0, 0.8)));
    background: -o-linear-gradient(top, rgb(51 51 51) 0%, rgba(0, 0, 0, 0.8) 100%);
    background: linear-gradient(to bottom, rgb(51 51 51) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 3px!important;
    -webkit-backdrop-filter: blur(1px);
            backdrop-filter: blur(1px);

}

#flexmenu li,
#flexmenu li a{
    border: 0;
    list-style: none;
    line-height: 1;
    display: inline-block;
    position: relative;
	
    -webkit-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s; 
     text-wrap-mode: nowrap;
}

#flexmenu ul li a {
    padding: 0 7px;
    font-size: 20px;
    letter-spacing: 1px;
    text-decoration: none;
    color: #FFF;
    font-weight: 400;
        text-wrap-mode: nowrap;
}

#flexmenu ul li.has-sub > a {
}
 ul{
padding-left: 0;

 }
#flexmenu ul ul li.has-sub > a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #FFF;
    content: '';
}
#flexmenu > ul > li.has-sub > a:before {
    position: absolute;
    top: 19px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #FFF;
	
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;

}
#flexmenu > ul > li.has-sub:hover > a:before {
    top: 23px;
    height: 0;
}
#flexmenu ul ul li.has-sub > a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #FFF;
    content: '';
	
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
	
}
#flexmenu ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0;
}
#flexmenu ul ul li.has-sub:hover,
#flexmenu ul li.has-sub ul li.has-sub ul li:hover {
    background: #333;
}
#flexmenu ul ul {
    position: absolute;
    left: -9999px;
    padding-left: 0;
    /*border-radius: 5px;*/
}
#flexmenu li:hover > ul {
    left: auto;
}

#flexmenu ul ul li {
    height: 0;
	padding: 0 15px;
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
	
}
#flexmenu ul ul li:last-child{
  padding-bottom: 15px;
}

#flexmenu ul ul li:first-child{
  padding-top: 15px;
}
#flexmenu li:hover > ul > li {

    height: 100%;
}
#flexmenu ul ul ul {
    margin-left: 100%;
    top: 0;
    background: #000000CC;
}
#flexmenu ul ul li a {
    padding: 5px 15px;
    width: 100%;
    font-size: 17px;
    text-decoration: none;
    color: #FFF;
    font-weight: 400;
}


#main{
  color: #FFF;
  height: 100vh;
  width: 100vw;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/927610/e-aupyxbjm-alice-moore.jpg) top center no-repeat;
  background-size: cover;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width: 769px) {
#flexmenu ul ul{
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
.sub-menu > li:first-child:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 10px;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    /* border-bottom-color: #000000CC; */
    display: block;
    padding: 20px 100px;
}

.phone {

    margin-left: 25px;
}

:has(#flexmenu li:nth-child(2):hover) #flexmenu li:nth-child(2):hover > ul {
    left: -83%;
            top: 35px;
}
:has(#flexmenu li:nth-child(1):hover) #flexmenu li:nth-child(1):hover > ul {
    left: -125%;
            top: 35px;
}
:has(#flexmenu li:nth-child(7):hover) #flexmenu li:nth-child(7):hover > ul {
    left: -50%;
            top: 35px;
}
:has(#flexmenu li:nth-child(3):hover) #flexmenu li:nth-child(3):hover > ul {
            left: -10%;
                    top: 35px;
}

}
#flexmenu li a:hover{
    
        color: #909695 !important;
}
@media screen and (max-width: 768px) {
    body{
        
        overflow-x: hidden; 
}
    
    .logo {
        position: absolute;
        top: 0;
        left: 0;

        height: 46px;
        text-align: center;
        padding: 10px 0 0 5px;
      -webkit-box-align: start;
          -ms-flex-align: start;
              align-items: flex-start;
    }
    .phone{
position: absolute;

    }
    .sub-menu.open[style*="display: block"]{
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background: transparent !important;
}
.sub-menu{

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
            background: transparent !important;
}
.sub-menu:before{
    
        content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}
    #flexmenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    background: #000000!important;
    height: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 70px;
    margin-block-end: 0;
    padding-inline-start: 0;
    padding-left: 0;
    width: 102vw;
           /*margin-left: calc(-51vw + 51%);*/
   margin: auto;

}
  .logo img{

    height: 46px;
    width: auto;


  }
    .button {
   
        width: 60px;
        height: 48px;
        position: absolute;
        right: 10px;
   
        cursor: pointer;
        z-index: 10000;
    }
    .button:after {
        position: absolute;
        top: 22px;
        right: 20px;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 2px solid #FFF;
        border-bottom: 2px solid #FFF;
        content: '';
    }
    .button:before {
        -webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
        position: absolute;
        top: 16px;
        right: 20px;
        display: block;
        height: 2px;
        width: 20px;
        background: #FFF;
        content: '';
    }
    .button.menu-opened{

    }
    .button.menu-opened:after {
        -webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;    
        top: 23px;
        border: 0;
        height: 2px;
        width: 19px;
        background: #FFF;
        -webkit-transform: rotate(45deg);
                -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    }
    .button.menu-opened:before {
        top: 23px;
        background: #FFF;
        width: 19px;
        -webkit-transform: rotate(-45deg);
                -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    }
    #flexmenu ul {
    display: none;
    /* margin-top: 16%; */
    background: #000000;
    margin-block-start: 43px;
    margin-block-end: 0;
    padding-inline-start: 0;
        padding-left: 0;
    }
    #flexmenu ul li,
    #flexmenu ul li a,
    #flexmenu ul ul li a{
    color: #FFF;
    width: 100wv;
    }

    #flexmenu ul ul li,
    #flexmenu li:hover > ul > li {
        height: auto;  

    }
    #flexmenu ul ul li a {
        padding-left: 25px;
    }
    #flexmenu ul ul ul li a {
        padding-left: 35px;
    }

    #flexmenu ul ul,
    #flexmenu ul ul ul {
      position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;

    text-align: center;
    padding: 0;
    }
    #flexmenu ul ul ul li.active a {
        border-left: none;
    }
    #flexmenu > ul > li.has-sub > ul > li.focus > a,
    #flexmenu > ul ul > li.has-sub > ul > li.focus > a {
        background: #333;
        -webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }
    #flexmenu > ul > li.has-sub > a:after,
    #flexmenu > ul > li.has-sub > a:before,
    #flexmenu ul ul > li.has-sub > a:after,
    #flexmenu ul ul > li.has-sub > a:before {
        display: none;
    }

    #flexmenu .submenu-button {
        position: absolute;
        z-index: 9999999999999999999999;
        right: 0;
        top: 0;
        display: block;
 /*padding: 45px;*/
        height: 46px;
        width: 46px;
        cursor: pointer;
 
    }
    #flexmenu ul ul .submenu-button {
        height: 34px;
        width: 34px;
    }
    #flexmenu .submenu-button:after {
        position: absolute;
        top: 22px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #FFF;
        content: '';
    }
    #flexmenu ul ul .submenu-button:after {
        top: 15px;
        right: 13px;
    }
    #flexmenu .submenu-button.submenu-opened:after {
        background: #FFF;
    }
    #flexmenu .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #FFF;
        content: ''
    }
    #flexmenu ul ul .submenu-button:before {
        top: 12px;
        right: 16px;
    }
    #flexmenu .submenu-button.submenu-opened:before {
        display: none;
    }   
  
  .note{
    font-size: 3vw;
  }
  .phone span{
      display: none;
  }
    .phone{
         background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='512px' height='512px' viewBox='0 0 512 512' fill='%23fff'%3e%3cg%3e%3cpath d='M256,0C114.609,0,0,114.609,0,256c0,141.391,114.609,256,256,256c141.391,0,256-114.609,256-256 C512,114.609,397.391,0,256,0z M256,472c-119.297,0-216-96.703-216-216S136.703,40,256,40s216,96.703,216,216S375.297,472,256,472z '/%3e%3cpath d='M327.125,383.969c5.703,0.016,56.875-37.828,56.875-42.656s-57.266-40.905-62.219-40.905s-21.578,19.938-26.062,22.155 c-4.5,2.22-32.5,1.422-63.703-29.78c-31.219-31.188-41.875-67.109-41.875-72.75c0-5.641,26.031-23.062,26.75-27.156 c0.719-4.094-34.313-64.876-40-64.876S128,180.5,128,184.875s3.953,60.656,75.219,131.906S321.422,383.938,327.125,383.969z'/%3e%3c/g%3e%3c/svg%3e ");
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    right: 17%;  }
    
#main-menu > li:last-child { padding-bottom: 15px; }
#main-menu > li:last-child > .submenu-button{    top: -10px;}
}
.t-popup.t-popup_show {

    z-index: 999999999;
}


/*.t-popup__block-close {*/
/*     top: 5vmax;*/
/*    right: 32vmax;*/

}
.t-popup__close {
    position: absolute;

}

/* Скрываем стандартный крестик Tilda внутри контейнера */
.t-popup__container .t-popup__close,
.t-popup__container .t-popup__block-close,
.t-popup__close.t-popup__block-close{
    display: none !important;
}



.custom-tilda-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 999999 !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.custom-tilda-close:before, 
.custom-tilda-close:after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 24px !important;
    height: 2px !important;
    background: #fff !important;
    transform-origin: center !important;
}

.custom-tilda-close:before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.custom-tilda-close:after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.custom-tilda-close:hover {
    opacity: 0.8 !important;
}

.t-col.t-col_11.t-prefix_1 a.heading-anchor{
    
    display:none!important;
    
}

.toc-auto-list li:before {
    top: 0!important;
    margin-top: 0!important;
}
.toc-auto-list li {
    align-items: center!important;
}


/* ПРИГЛАСИТЕЛЬНЫЕ */
  .container {
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
    }

    .preview-area {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
    }

    .invitation-preview {
        background-color: #000000;
        position: relative;
        width: 500px;
        color: #FFFFFF;
        font-family: 'Open Sans', Arial, sans-serif;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        min-height: 707px;
        transition: transform 0.3s ease;
    }

    .invitation-preview::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://static.tildacdn.com/tild6665-3464-4461-a233-336434353065/80905fae89b3ff0bad13.jpg');
        background-size: cover;
        background-position: center;
        opacity: 0.7;
        mix-blend-mode: hard-light;
        pointer-events: none;
        z-index: 1;
    }

    .invitation-preview > * {
        position: relative;
        z-index: 2;
    }

    .invitation__title {
        padding-top: 27px;
        padding-bottom: 8px;
        font-weight: 800;
        font-size: 28px;
        line-height: 1.1;
        text-align: center;
        text-transform: uppercase;
    }

    .invitation__scenario {
        font-weight: 600;
        font-size: 16px;
        line-height: 1.1;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 0;
        padding: 0 20px;
    }

    .field-with-select {
        position: relative;
        display: inline-block;
    }

    .field-with-select select {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 10;
    }

    .field-with-select .display-value {
        display: block;
        padding: 2px 4px;
    }

    .field-with-select:hover .display-value {
        background-color: rgba(255, 255, 255, 0.15);
    }

    .invitation__image-container {
        width: 100%;
        height: 255px;
        overflow: hidden;
        margin-top: 8px;
    }

    .invitation__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .invitation__description {
        font-weight: 600;
        font-size: 14px;
        line-height: 1.3;
        text-align: center;
        margin: 8px 0 26px;
        padding: 0 20px;
        min-height: 60px;
        max-width: 325px;
        margin-left: auto;
        margin-right: auto;
        word-wrap: break-word;
        position: relative;
    }

    #previewDescription {
        max-width: 325px;
        word-wrap: break-word;
        display: inline-block;
        padding-right: 30px;
    }

    .dice-icon {
        position: absolute;
        top: 15%;
        right: 0;
        cursor: pointer;
        font-size: 20px;
        transition: transform 0.3s ease;
        z-index: 20;
        opacity: 0.5;
    }
    .dice-icon:hover {
        opacity: 1;
    }

    .invitation__info {
        display: flex;
        align-items: flex-start;
        justify-content: space-around;
        flex-wrap: nowrap;
        margin: 0 34px 20px 34px;
        width: calc(100% - 68px);
    }

    .invitation__date {
        width: 84px;
        flex: none;
    }

    .invitation__date-title {
        opacity: 0.7;
        font-weight: 300;
        font-size: 10px;
        line-height: 1.3;
        padding-bottom: 6px;
        white-space: nowrap;
    }

    .invitation__date-time {
        font-weight: 600;
        font-size: 10px;
        line-height: 1.3;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .date-part {
        display: flex;
        width: 100%;
        position: relative;
    }

    .time-part.field-with-select {
        display: flex;
        width: 100%;
    }

    .time-part .display-value {
        padding: 2px 4px;
    }

    /* Стили для календаря */
    .calendar-input {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 10;
    }
    
    .calendar-input::-webkit-calendar-picker-indicator {
        cursor: pointer;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }

    .invitation__locate {
        width: 159px;
        flex: none;
        padding: 0 24px;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }

    .invitation__locate-title {
        opacity: 0.7;
        font-weight: 300;
        font-size: 10px;
        line-height: 1.3;
        padding-bottom: 6px;
    }

    .invitation__locate-adress {
        font-weight: 600;
        font-size: 10px;
        line-height: 1.3;
    }

    .invitation__contact {
        width: 110px;
        flex: none;
    }

    .invitation__contact-title {
        opacity: 0.7;
        font-weight: 300;
        font-size: 10px;
        line-height: 1.3;
        padding-bottom: 6px;
    }

    .invitation__contact-info {
        font-weight: 600;
        font-size: 10px;
        line-height: 1.3;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .invitation__tagline {
        text-align: center;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .invitation__tagline-title {
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 2px;
    }

    .invitation__tagline-subtitle {
        font-weight: 400;
        font-size: 12px;
        opacity: 0.8;
    }

    .invitation__copyright {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px 34px 16px 34px;
        opacity: 0.7;
        font-size: 8px;
        line-height: 1.3;
        position: relative;
    }

    .invitation__logo {
        width: 74px;
        height: 24px;
        object-fit: cover;
    }
    
    .invitation__qr {
        width: 65px;
        height: 65px;
        object-fit: contain;
        margin: 0 10px;
    }

    .invitation__adress {
        text-align: right;
    }

    .invitation__adress-phone {
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: flex-end;
    }

    .invitation__adress-phone--icon {
        width: 10px;
        height: 10px;
        opacity: 0.5;
    }

    [contenteditable="true"] {
        cursor: text;
        outline: none;
        transition: background-color 0.2s;
        border-radius: 4px;
        padding: 2px 4px;
    }

    /* Стили для плейсхолдеров */
    .placeholder {
        color: rgba(255, 255, 255, 0.4);
        font-style: italic;
    }

    .toolbar {
        background: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
        padding: 25px 30px;
        backdrop-filter: blur(10px);
        margin: auto;
    }

    .toolbar-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid #333;
    }

    .validation-summary {
        background: #fff3cd;
        border: 2px solid #856404;
        border-radius: 10px;
        padding: 15px 20px;
        margin-bottom: 20px;
        display: none;
    }

    .validation-summary.active {
        display: block;
    }

    .action-buttons {
        display: flex;
        gap: 15px;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 0 40px;
        height: 60px;
        font-weight: 600;
        font-size: 16px;
        border: 2px solid #333;
        border-radius: 12px;
        background: #fff;
        color: #333;
        cursor: pointer;
        transition: all 0.3s;
        flex: 1;
        position: relative;
    }

    .btn:hover {
        background: #333;
        color: #fff;
        transform: translateY(-2px);
    }

    .btn.primary {
        background: #333;
        color: #fff;
        border-color: #333;
    }

    .btn.primary:hover {
        background: #fff;
        color: #333;
    }

    .success-message {
        margin-top: 15px;
        padding: 15px;
        background: #d4edda;
        border: 2px solid #155724;
        border-radius: 10px;
        color: #155724;
        text-align: center;
        display: none;
    }

    .error-message {
        color: #dc3545;
        font-size: 12px;
        margin-top: 4px;
        display: none;
    }

    .error-message.show {
        display: block;
    }

    .invalid {
        border: 2px solid #dc3545 !important;
        background-color: rgba(220, 53, 69, 0.1) !important;
        border-radius: 4px;
    }

    #pdfCanvas {
        display: none;
    }

    @media (max-width: 600px) {
        .invitation-preview {
            width: 100%;
        }

        .action-buttons {
            flex-direction: column;
        }
    }

    .ivation__input {
        position: relative;
        transition: 0.3s;
    }

    .ivation__input:after {
        background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_216_500)"><path d="M18.8539 0.983125C18.1726 0.330625 17.422 0 16.6201 0C15.3664 0 14.4514 0.81 14.2014 1.05813C13.8489 1.40688 1.83514 13.4256 1.83514 13.4256C1.75639 13.5044 1.69951 13.6031 1.67014 13.7106C1.39951 14.7119 0.0420148 19.1544 0.0282648 19.1994C-0.0417352 19.4269 0.0207648 19.675 0.188265 19.8425C0.30889 19.9625 0.469515 20.0269 0.63389 20.0269C0.69889 20.0269 0.76389 20.0169 0.82764 19.9962C0.873265 19.9812 5.45889 18.4994 6.21389 18.2737C6.31327 18.2437 6.40451 18.19 6.47826 18.1169C6.95514 17.6456 18.1601 6.565 18.9039 5.79687C19.6733 5.00437 20.0558 4.17812 20.0408 3.34375C20.0251 2.51937 19.6258 1.72563 18.8526 0.98375L18.8539 0.983125ZM14.002 3.05687C14.3201 3.13375 15.0714 3.38625 15.8383 4.16C16.6133 4.94188 16.8226 5.83563 16.862 6.03938C14.4045 8.48438 8.74764 14.0812 6.51764 16.2869C6.31202 15.8075 5.97889 15.2294 5.44326 14.69C4.78951 14.0312 4.12389 13.6594 3.61076 13.45C5.81764 11.2425 11.5814 5.47687 14.0014 3.0575L14.002 3.05687ZM2.76264 14.5044C3.10639 14.5956 3.81951 14.8606 4.54639 15.5931C5.10639 16.1581 5.37077 16.7806 5.48952 17.1606C4.62077 17.44 2.71826 18.0962 1.51014 18.4862C1.86826 17.3075 2.47326 15.4725 2.76264 14.5044ZM17.9976 4.90312C17.972 4.92937 17.9295 4.97187 17.8789 5.02312C17.6814 4.51437 17.3351 3.86063 16.7345 3.25563C16.1214 2.6375 15.4995 2.27312 15.0014 2.0575C15.0439 2.01562 15.0764 1.9825 15.0895 1.97C15.1608 1.89937 15.8101 1.27875 16.6189 1.27875C17.0845 1.27875 17.542 1.49125 17.9783 1.91C18.4958 2.40688 18.7633 2.89688 18.772 3.36688C18.7808 3.84688 18.5195 4.36375 17.997 4.90312H17.9976Z" fill="white"/></g><clipPath id="clip0_216_500"><rect width="20" height="20" fill="white"/></clipPath></defs></svg>');
        content: '';
        width: 15px;
        height: 15px;
        background-repeat: no-repeat;
        display: inline-block;
        opacity: 0.45;
        position: absolute;
        right: 3%;
        top: 0;
        background-size: cover;
    }

    .ivation__input:hover {
        background-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 0 2px #ffd700;
        transition: 0.5s;
        cursor: pointer;
    }

    .ivation__input:focus {
        background-color: rgba(255, 255, 255, 0.25);
        box-shadow: 0 0 0 2px #ffd700;
    }

    .ivation__input select option {
        background-color: #333;
        color: white;
        padding: 8px;
    }

    .ivation__input select option:hover {
        background-color: #ffd700;
        color: #333;
    }

    .ivation__input select::-webkit-scrollbar {
        width: 8px;
    }

    .ivation__input select::-webkit-scrollbar-track {
        background: #444;
    }

    .ivation__input select::-webkit-scrollbar-thumb {
        background: #ffd700;
        border-radius: 4px;
    }

    .ivation__input select::-webkit-scrollbar-thumb:hover {
        background: #e6c200;
    }
.calendar-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.calendar-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background: transparent;
}

.calendar-input.visible-icon {
    opacity: 1;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: white;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 10px;
}

.calendar-input.visible-icon::-webkit-calendar-picker-indicator {
    opacity: 1;
    width: 20px;
    height: 20px;
    position: static;
    filter: invert(1);
    margin-left: 5px;
}

/* Стилизация выпадающего календаря (ограниченная поддержка) */
.calendar-input::-webkit-datetime-edit {
    padding: 2px 4px;
    color: white;
}

.calendar-input::-webkit-datetime-edit-fields-wrapper {
    color: white;
}

.calendar-input::-webkit-datetime-edit-text {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 2px;
}

.calendar-input::-webkit-datetime-edit-month-field,
.calendar-input::-webkit-datetime-edit-day-field,
.calendar-input::-webkit-datetime-edit-year-field {
    color: white;
}

.calendar-input::-webkit-datetime-edit-month-field:focus,
.calendar-input::-webkit-datetime-edit-day-field:focus,
.calendar-input::-webkit-datetime-edit-year-field:focus {
    background-color: rgba(255, 215, 0, 0.3);
    outline: none;
}

/* Стили для внутреннего календаря (только для Webkit) */
.calendar-input::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Стили для модального окна календаря (только для Chrome) */
::-webkit-calendar-picker {
    background-color: #333;
    color: white;
    border: 1px solid #ffd700;
}

::-webkit-calendar-picker option {
    background-color: #333;
    color: white;
}

::-webkit-calendar-picker option:hover {
    background-color: #ffd700;
    color: #333;
}

.calendar-input {
    color-scheme: dark;
}

.custom-calendar-wrapper {
    position: relative;
    display: inline-block;
}

.custom-calendar-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.custom-calendar-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zM7 11h5v5H7v-5z"/></svg>');
    background-size: contain;
    opacity: 0.5;
    pointer-events: none;
}

.calendar-input:hover + .display-value {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px #ffd700;
}

.calendar-input:focus + .display-value {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 2px #ffd700;
}