/* external css: flickity.css */

@font-face {
    font-family: "Open-Sans";
    src: url("../font/OpenSans-Regular.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 62.5%;
    font-family: "Open Sans", sans-serif;
    padding: 0;
    margin: 0;
}

.mode_web {
    border: 5px solid #f00;
    /* height: 10px; */
    z-index: 10000;
    position: absolute;
    width: 100%;
}

.mode_app {
    border: 5px solid #0f0;
    /* height: 10px; */
    z-index: 10000;
    position: absolute;
    width: 100%;
}

#qr_code img{
    width: 100%;
}
h1 {
    color: #fff;
    font-size: 1.15rem;
    text-transform: uppercase;
}
h2 {
    font-size: 1.3rem;
    text-align: center;
}
p {
    font-size: 1rem;
    color:#606060;
    text-align: center;
    line-height: 1.6rem;
}
.hdr {
    border-bottom: #fff solid 1px;
    display: flex;
    justify-content: space-between;
    padding: 0 .2rem;
    margin:0 1rem;
}
.content {
    background-color: #fff;
    border-radius: 23px;
    min-height: 50vh;
    max-height: 95vh;
    margin: .8rem;
    padding: .8rem;
    overflow-y: auto;
    border: 1px solid #707070;
}
.content a {
    font-weight: bold;
    color: #085270;
}
.gallery {
    background: #085270;
}

.gallery-cell {
    width: 100%;
    height: 100%;
    /*
    background: linear-gradient(0deg, rgba(8,82,112,1) 0%, rgba(51,128,165,1) 100%);
    */
    margin-right: 10px;
    counter-increment: gallery-cell;
    padding: .9rem;
}

.splash.gallery-cell{
    background-image: url("../images/splash.jpg");
    background-size: cover;
    background-position: top right;
    height: 100vh;
    background-color: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.container_lang {
    margin-bottom: 2.5rem;
}

.light {
    color: #fff;
    font-size: .9rem;
    font-weight: bold;
    margin: 3em 2.3em;

    padding: 1.5em 0;
}
.borders {
    border-top: solid 1px #fff;
    border-bottom: solid 1px #fff;
}
.support {
    font-size: .7rem;
    margin-top: .4rem;
}
.light a, .support  {
    color: #fff;
}
.light:before {
    border-top: solid   1px #fff;
}
.btn-lnk {
    font-size: .8rem;
    font-weight: bold;
    border: solid 5px #fff;
    border-radius: 6px;
    padding: 0.5rem;
    color: #fff;
    text-transform: uppercase;
    margin-top: 1rem;
    position: relative;
}
.btn-lnk:before, .btn-lnk:after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
    background-color: #fff;
    position: absolute;

}
.btn-lnk:before {
    top: -5px;
    right: 6px;
}
.btn-lnk:after {
    bottom: -4px;
    left: 6px;
}

.container_lang a {
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
    padding: .2rem;
}
.container_lang a.active {
    font-size: 1.2rem;
    text-decoration: none;
}

.splash .flickity-page-dots {
    display: none;
}
.splash .flickity-enabled.is-fullscreen .flickity-page-dots {
    display: none;
}
.flickity-enabled.is-fullscreen {
    background: linear-gradient(0deg, rgba(8,82,112,1) 0%, rgba(51,128,165,1) 100%);
}
body .flickity-enabled.is-fullscreen .flickity-page-dots {
    bottom: 25px;
}
button.flickity-prev-next-button.previous,
.flickity-prev-next-button.next {
    display: none;
}
/* cell number */
.gallery-cell2:before {
    display: block;
    text-align: center;
    content: counter(gallery-cell);
    line-height: 200px;
    font-size: 80px;
    color: white;
}
/* fullscreen */
.wrapper {
    height: 76vh;
    overflow-y: scroll;
}
.carousel.is-fullscreen .gallery-cell {
    height: 100%;
}
.card-wrap {
    background-color: #fff;
    margin: 5px 5px;
    border-radius: 6px;
    padding: .5rem;
    display: flex;
    align-items: center;
}
.title {
    flex: 1 1 auto;
    color: #0f5a79;
    margin-left: .5rem;
    align-self: flex-start;
}
.raiting {
    color: #FEBA2C;
}
.fav {
    color: #0f5a79;
}
.title h2 {
    margin: 0;
}
.cat-btn {
    margin: .9rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    width: 99vw;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.cat-btn .btn {
    color: #fff;
    text-decoration: none;
    font-size: .7rem;
    font-weight: bold;
    padding: 4px 6px;
    margin: 0 .1rem;
    white-space: nowrap;
}
.cat-btn .btn.active {
    background-color: #fff;
    color: #0f5a79;
}
.cat-btn .outline {
    border: solid 1px #fff;
    border-radius: 6px;
}
#qr_timer {color: #125c7c;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin: 0 auto 0;
    display: block;
    padding-top: 10px;
    width: 70px;
    height: 70px;
    border: solid 5px #317ea2;
    border-radius: 50%;
    line-height: 1.2;
    margin-top: 10px;
}

/* ========================================
   PERSONAL DATA FORM STYLES
   ======================================== */

.personal-data-container {
    padding: 1rem 0;
}

/* ========================================
   PRIVACY PANEL STYLES
   ======================================== */

.privacy-panel {
    background: linear-gradient(135deg, rgba(63, 110, 144, 0.17) 0%, rgba(44, 84, 114, 0.2) 100%);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
    position: relative;
    overflow: hidden;
}

.privacy-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #dd5928 0%, #dd5928 100%);
}

.privacy-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dd5928 0%, #dd5928 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(74, 122, 158, 0.47);
}

.privacy-content {
    flex: 1;
}

.privacy-content h4 {
    color: #dd5928;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.privacy-content p {
    color: #085270;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    font-weight: 500;
}

.personal-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 100%;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    font-weight: 600;
    color: #085270;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field input {
    padding: 0.8rem 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fafbfc;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-field input:focus {
    outline: none;
    border-color: #085270;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(8, 82, 112, 0.1);
}

.form-field input::placeholder {
    color: #999;
    font-style: italic;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}

.btn-save {
    background: linear-gradient(135deg, #F7941D 0%, #F7941D 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-save:hover {
    background: linear-gradient(135deg, #F7941D 0%, #F7941D 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}


.btn:active {
    transform: translateY(0);
}

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */

@media (max-width: 768px) {
    .personal-data-container {
        padding: 0.5rem 0;
    }
    
    .privacy-panel {
        padding: 1rem;
        margin-bottom: 1.2rem;
        gap: 0.8rem;
    }
    
    .privacy-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .privacy-content h4 {
        font-size: 0.9rem;
    }
    
    .privacy-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .personal-form {
        gap: 1rem;
    }
    
    .form-field input {
        padding: 0.9rem 1rem;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .form-actions {
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .btn {
        padding: 1rem 1.2rem;
        font-size: 0.85rem;
        min-height: 50px;
    }
    
}

@media (max-width: 480px) {
    .privacy-panel {
        padding: 0.8rem;
        margin-bottom: 1rem;
        gap: 0.6rem;
        border-radius: 8px;
    }
    
    .privacy-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .privacy-content h4 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .privacy-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .form-field input {
        padding: 0.8rem 0.9rem;
    }
    
    .form-field label {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.9rem 1rem;
        font-size: 0.8rem;
        min-height: 48px;
    }
    
}