
:root {
    /* Consolidated color tokens (replace repeated literals across this file) */
    --color-primary: #006FFF;        /* brand blue */
    --color-primary-dark: #0A5FA3;
    --color-surface: #f6f6f8;
    --color-success: #5cb85c;
    --color-text: #333;
}

main .container {
    margin-right: 0;
    margin-left: 0;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    /* Global font + base size (consolidated here from the former duplicate `body` rule lower in the file) */
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text);
}
.datagrid_indexpage {
    /* Consolidated from 3 conflicting definitions; preserves the former last-wins computed values. */
    width: 100%;
    margin: 120px auto 200px;
    padding: 0 15px;
}

.bodyWrap2 {
    width: 100%;
}

.footer2 {
    height: 50px; /* Adjust the height as needed */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-surface);
    color: white;
    text-align: center;
    padding: 10px;
    padding-left: 5px;
    font-size: 10px;
}

/* HeaderFilter overlay (popup) */
.dx-overlay-wrapper.dx-popup-wrapper.dx-header-filter-menu.dx-overlay-content.dx-popup-normal {
    width: auto !important;
    height: auto !important;
    min-width: 320px !important;
    /*max-width: 90vw !important;*/
}


/*.widget-container {

    margin-left: 10%;
    margin-right: auto;
    width: 20%;
}
.datagrid_aplhrwta_eisitiria {
    margin-top:3%;
    margin-left: 10%;
    margin-right: auto;
    width: 60%;
}*/
/*.widget-container {
    margin-left: 10%;
    margin-right: auto;
    width: 40%;
}

.datagrid_aplhrwta_eisitiria {
    margin-top: 3%;
    margin-left: 2%;
    margin-right: auto;
    width: 58%;
}
*/
.datagrid_container_neo {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: all 0.3s ease-in-out;
}
.widget-container {
    margin-right: 10%;
    width: 20%;
    margin-left: 10%;
}

.datagrid_aplhrwta_eisitiria {
    width: 49%;
    margin-right:10%;
}

/**
 * Position the dropdown content
 */
.dropdown {
    display: inline-block;
    position: relative;
}
    /**
 * Style the dropdown list
 */
   /* .dropdown > ul {
        background-color: #ffffff;
        border: 1px solid #cccccc;
        border-radius: 0.25em;
        list-style: none;
        margin: 0;
        padding: 0;
        min-width: 19em;
        position: absolute;
        top: 1.5em;
        z-index: 999;
    }*/
        /**
 * @bugfix Prevent webkit from removing list semantics
 * 1. Add a non-breaking space
 * 2. Make sure it doesn't mess up the DOM flow
 */
        /*.dropdown > ul > li:before {
            content: "\200B";*/ /* 1 */
            /*position: absolute;*/ /* 2 */
        /*}*/


/*.footer2 {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--color-surface);
    color: white;
    text-align: center;
    padding: 10px;
    padding-left: 5px;
    font-size: 10px;
}*/
.long-title {
    margin-bottom:2%
}
.long-title2 {
    margin-top: 5%
}
.blurred {
    filter: blur(5px);
    pointer-events: none;
}

#form-container-oikothen {
    width: 60%;
    margin: auto;
    margin-top: 3%;
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
/*#form-container-oikothen2 {
    width: 40%;
    margin: auto;
    margin-top: 3%;
    transform: scale(0.9);
}*/
#form-container-oikothen2 {
    width: 40%;
    margin: auto;
    margin-top: 1%;
    
    /*transform: scale(0.9);*/
}
#editButton {
    margin-top: 2%;
    margin-left: 40%;
    margin-right:20px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 4px;
    padding: 8px 12px;
    border: none;
    line-height: 1.23;
    letter-spacing: -0.02em;
}
#btn_1, #btn_2, #btn_3, #btn_4, #btn_5 {
    margin-top: 2%;
    margin-right: 20px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 4px;
    padding: 8px 12px;
    border: none;
    line-height: 1.23;
    letter-spacing: -0.02em;
}
    #forms2{
    margin:auto;
}
#form1 {
    margin-left: 0;
    margin-top:3%;
    width: 80%;
    
}
#dexia_meria{
    width:55%
}
#form2  {
    margin-top: 3%;
    width: 60%;
}

a.minos_link0 {
    font-size: 13px;
    color: black;
    text-decoration: none;
}
#logo_footer{
    width:40px;
    height:40px;
}
/*.bg-color {
    background-color: var(--color-primary-dark);
}*/
/* removed `.nav-link { margin-top:-8px }` vertical-nudge hack; nav vertical centering handled by flex align in the navbar rules below. */
.test{
    margin-bottom:10%;
}
.parabaseis_header {
    font-size: 1.3em;
}
.parabaseis_header_stoixeiaxrhsth {
    font-size: 1.3em;
    margin-top:8%;
}
#parabaseis-container1 {
    margin-top: 10%;
    margin-left: auto;
    /*width: 90%;*/
    margin-right: auto;
}

#parabaseis-container2 {
    margin-top: 10%;
    margin-left: auto;
    width: 90%;
    margin-right: auto;
}
/*.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-item {
    width: calc(50% - 10px);*/ /* Adjust the width as needed */
    /*height: 100px;*/ /* Adjust the height as needed */
    /*margin-bottom: 10px;*/ /* Adjust the margin as needed */
    /*background-color: #ccc;
}*/
.custom-navbar {
    background-color: var(--color-primary);
}
.transparent-navbar .custom-navbar {
    background-color: transparent;
}
.form_background {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    /*background-image: url('../Images/balos-scaled.jpg');*/
    background-image: url('../Images/ferry_3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* .logo consolidated into the single `.logo` rule lower in this file (the navbar logo size is also set inline in _Layout). */
.float-right {
    float: right;
}


#TotalAmount{
    text-align: right;
}
/* .datagrid_indexpage consolidated into the single rule near the top of this file. */
#mini-popup{
    margin-bottom:20px;
}
.dimos_kissamou {
    margin-bottom: 100px;
}
.selida {
    text-decoration: none;
    color: blue;
    /*font-size: 1.4vw;*/
    font-weight: 700;
}

.navbar{
    
}
.prostiki_btn{
    color:red;
}
.popup-content-scrollable {
    max-height: 80vh; /* Adjust the maximum height as needed */
    overflow-y: auto;
}
/*#DataGridEisitiriaID .dx-datagrid-header-panel {
    padding: 0;
    background-color: rgba(85, 149, 222, 0.6);
}*/

@media screen and (max-height:829px) and (min-width:768px) {
    #myNavbar {
        position: fixed;
       height:13%;
        top: 0;
        font-size: medium;
        width: 100%;
        background-color: var(--color-surface);
        z-index: 1000;
    }
    #parabaseis-container1 {
        margin-top: 10%;
        margin-bottom:10%;
    }
    .popup-content-scrollable {
        max-height: 80vh; /* Adjust the maximum height as needed */
        overflow-y: auto;
    }
    .footer2 {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background-color: var(--color-surface);
        color: white;
        text-align: center;
        /*padding: 10px;*/
        /* padding-left: 5px;*/
        font-size: 5px;
        /*height: 5%;*/
        transform: scaleY(0.90);
    }
    .parent {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        transform:scale(0.8)
    }

    #form-container-oikothen {
        width: 50%;
        margin: auto;
        margin-top: 3%;
        opacity: 0.6;
        margin-left: 10%;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    #form-container-oikothen2 {
        width: 40%;
        margin: auto;
        margin-top: 1%;
       
         /*transform: scale(0.9);*/ 
    }
}

@media screen and (max-width: 320px) {
    .nav-link.active, #myNavbar.active {
        font-family: Verdana, sans-serif;
        background-color: whitesmoke;
    }
    .logo {
        width: 50px;
        height: 50px;
    }
    .form_outside {
        position: relative;
        transform: scale(0.9);
        background-color: rgba(245, 245, 245, 0.7);
        border-radius: 20px;
        font-family: Verdana, sans-serif;
        width: 100%;
        margin-top: 35px;
        margin-left: auto;
        margin-right: auto;
        /* margin-bottom: 10px; */
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 4px 10px 0 rgba(0, 0, 0, 0.39);
        /* z-index: 100; */
        /* overflow: auto; */
    }

    #form-container_index {
        width: 98%;
        /*border: 1px solid red;*/
        /*margin-top: auto;*/
        margin-left: 5%;
        margin-bottom: 20px;
        margin: auto;
        /*margin-top: 8%;*/
        /*font-size: 1.0vw;*/
    }

    .create_ticket_header {
        font-weight: 700;
        text-align: center;
        margin: 2% 0;
        font-size: 1rem;
    }

    .text-container_index {
        width: 96%;
        margin-top: 6%;
        margin-left: 2%;
        margin-right: 2%;
        text-align: center;
        font-size: 0.65em;
        font-weight: 700;
    }

    .footer2 {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background-color: var(--color-primary-dark);
        color: white;
        text-align: center;
        /*padding: 10px;*/
        /* padding-left: 5px;*/
        font-size: 5px;
        height: 5%;
    }

    #logo_footer {
        width: 7%;
        height: 7%;
    }
    #frmNeoTempEisitirio .dx-field-item-label-text {
        font-size: 4.5vw;
        font-weight: 500;
    }
}
@media screen and (max-width: 380px) and (min-width:321px) {
    .nav-link.active,
    #myNavbar.active {
        font-family: Verdana, sans-serif;
        background-color: whitesmoke;
    }
    .form_outside {
        transform: scale(0.93);
        position: relative;
        background-color: rgba(245, 245, 245, 0.7);
        border-radius: 20px;
        font-family: Verdana, sans-serif;
        width: 98%;
        margin-top: 55px;
        margin-left: auto;
        margin-right: auto;
        /* margin-bottom: 10px; */
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 4px 10px 0 rgba(0, 0, 0, 0.39);
    }
        #form-container_index {
        width: 98%;
        /*border: 1px solid red;*/
        /*margin-top: auto;*/
        margin-left: 5%;
        margin-bottom: 20px;
        margin: auto;
        /*margin-top: 8%;*/
        /*font-size: 1.0vw;*/
    }

    .create_ticket_header {
        font-weight: 700;
        text-align: center;
        margin: 2% 0;
        font-size: 1rem;
    }

    .text-container_index {
        width: 96%;
        margin-top: 6%;
        margin-left:2%;
        margin-right:2%;
        text-align: center;
        font-size: 0.67em;
        font-weight: 700;
    }
    .footer2 {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background-color: var(--color-primary-dark);
        color: white;
        text-align: center;
        /*padding: 10px;*/
       /* padding-left: 5px;*/
        font-size: 5px;
        height:5%;
    }
    #logo_footer {
        width: 7%;
        height: 7%;
    }
    #frmNeoTempEisitirio .dx-field-item-label-text {
        font-size: 4vw;
        font-weight: 500;
    }
}
@media screen and (min-width:381px) and (max-width:480px)  {
    .nav-link.active,
    #myNavbar.active {
        font-family: Verdana, sans-serif;
        background-color: whitesmoke;
    }
    .form_outside {
        transform: scale(0.93);
        position: relative;
        background-color: rgba(245, 245, 245, 0.7);
        border-radius: 20px;
        font-family: Verdana, sans-serif;
        width: 92%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5%;
        /* margin-bottom: 100px;*/
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 4px 10px 0 rgba(0, 0, 0, 0.39);
        /*z-index:100;*/
        /*overflow:auto;*/
    }

    #form-container_index {
        width: 98%;
        /*border: 1px solid red;*/
        /*margin-top: auto;*/
        margin-left: 5%;
        margin-bottom: 20px;
        margin: auto;
        /*margin-top: 8%;*/
        /*font-size: 1.0vw;*/
    }

    .create_ticket_header {
        font-weight: 700;
        text-align: center;
        margin: 2% 0;
        font-size: 1rem;
    }

    .text-container_index {
        width: 96%;
        margin-top: 6%;
        margin-left: 2%;
        margin-right: 2%;
        text-align: center;
        font-size: 0.9em;
        font-weight: 700;
    }
    #frmNeoTempEisitirio .dx-field-item-label-text {
        font-size: 3.2vw;
        font-weight: 500;
    }
}
@media screen and (min-width:481px) and (max-width:550px)  {
    .nav-link.active,
    #myNavbar.active {
        font-family: Verdana, sans-serif;
        background-color: whitesmoke;
    }
    .form_outside {
        transform: scale(0.85);
        position: relative;
        background-color: rgba(245, 245, 245, 0.7);
        border-radius: 20px;
        font-family: Verdana, sans-serif;
        width: 98%;
        margin-top: 6%;
        margin-left: auto;
        margin-right: auto;
        /* margin-bottom: 100px; */
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 4px 10px 0 rgba(0, 0, 0, 0.39);
        /* z-index: 100; */
        /* overflow: auto; */
    }

    #form-container_index {
        width: 98%;
        /*border: 1px solid red;*/
        /*margin-top: auto;*/
        margin-left: 5%;
        margin-bottom: 20px;
        margin: auto;
        /*margin-top: 8%;*/
        /*font-size: 1.0vw;*/
    }

    .create_ticket_header {
        font-weight: 700;
        text-align: center;
        margin: 2% 0;
        font-size: 1rem;
    }

    .text-container_index {
        width: 96%;
        margin-top: 6%;
        margin-left: 2%;
        margin-right: 2%;
        text-align: center;
        font-size: 0.9em;
        font-weight: 700;
    }
    #frmNeoTempEisitirio .dx-field-item-label-text {
        font-size: 3vw;
        font-weight: 500;
    }
    .prostiki_btn .dx-button-mode-contained.dx-button-success {
        background-color: var(--color-success);
        border-color: transparent;
        color: #fff;
        margin-left: 0%;
        font-size: 0.9em;
        font-weight: 700;
        margin-top: 2%;
        /*margin-left:25%;*/
    } 
}
@media screen and (min-width:551px) and (max-width:767px) {
    .nav-link.active,
    #myNavbar.active {
        font-family: Verdana, sans-serif;
        background-color: var(--color-surface);
    }
        .form_outside {
        position: relative;
        background-color: rgba(245, 245, 245, 0.7);
        border-radius: 20px;
        font-family: Verdana, sans-serif;
        width: 92%;
        margin-left: auto;
        margin-right: auto;
        /* margin-bottom: 100px;*/
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 4px 10px 0 rgba(0, 0, 0, 0.39);
        /*z-index:100;*/
        /*overflow:auto;*/
    }

    #form-container_index {
        width: 98%;
        /*border: 1px solid red;*/
        /*margin-top: auto;*/
        margin-left: 5%;
        margin-bottom: 20px;
        margin: auto;
        /*margin-top: 8%;*/
        /*font-size: 1.0vw;*/
    }

    .create_ticket_header {
        font-weight: 700;
        text-align: center;
        margin: 2% 0;
        font-size: 1rem;
    }

    .text-container_index {
        width: 96%;
        margin-top: 6%;
        margin-left: 2%;
        margin-right: 2%;
        text-align: center;
        font-size: 0.9em;
        font-weight: 700;
    }
    #frmNeoTempEisitirio .dx-field-item-label-text {
        font-size: 3vw;
        font-weight: 500;
    }
    .prostiki_btn .dx-button-mode-contained.dx-button-success {
        background-color: var(--color-success);
        border-color: transparent;
        color: #fff;
        margin-left: 0%;
        font-size: 0.9em;
        font-weight: 700;
        margin-top: 2%;
        /*margin-left:25%;*/
    } 
}
@media screen and (min-width:768px) and (max-width:1025px)  {
   /* .nav-link.active,
    #myNavbar.active {
        font-family: Verdana, sans-serif;
        background-color: whitesmoke;
    }*/
    .custom-navbar {
        background-color: var(--color-surface);
        height: 10%;
    }
    .nav-item {
        font-size: 1em;
    }
    .form_outside {
        position: relative;
        background-color: rgba(245, 245, 245, 0.7);
        border-radius: 20px;
        font-family: Verdana, sans-serif;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        /* margin-bottom: 100px; */
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 4px 10px 0 rgba(0, 0, 0, 0.39);
        /* z-index: 100; */
        /* overflow: auto; */
        transform: scale(1.1);
    }

    #form-container_index {
        width: 98%;
        /*border: 1px solid red;*/
        /*margin-top: auto;*/
        margin-left: 5%;
        margin-bottom: 20px;
        margin: auto;
        /*margin-top: 8%;*/
        /*font-size: 1.0vw;*/
    }

    .create_ticket_header {
        font-weight: 700;
        text-align: center;
        margin: 2% 0;
        font-size: 1rem;
    }
    #frmNeoTempEisitirio .dx-field-item-label-text {
        font-size: 1.8vw;
        font-weight: 500;
    }
    .text-container_index {
        width: 96%;
        margin-top: 6%;
        margin-left: 2%;
        margin-right: 2%;
        text-align: center;
        font-size: 0.7em;
        font-weight: 700;
    }
    .prostiki_btn .dx-button-mode-contained.dx-button-success {
        background-color: var(--color-success);
        border-color: transparent;
        color: #fff;
        margin-left: 50%;
        font-size: 0.9em;
        font-weight: 700;
        margin-top: 2%;
        /*margin-left:25%;*/
    } 
}
@media screen and (min-width:1026px) and (max-width:1226px) {
    /* .nav-link.active,
    #myNavbar.active {
        font-family: Verdana, sans-serif;
        background-color: whitesmoke;
    }*/
    .custom-navbar {
        background-color: var(--color-surface);
        height: 10%;
    }
    .nav-item {
        font-size: 1.1em;
    }
    .form_outside {
        position: relative;
        background-color: rgba(245, 245, 245, 0.7);
        border-radius: 20px;
        font-family: Verdana, sans-serif;
        width: 96%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 4px 10px 0 rgba(0, 0, 0, 0.39);
        /*z-index:100;*/
        /*overflow:auto;*/
    }

    #form-container_index {
        width: 98%;
        /*border: 1px solid red;*/
        /*margin-top: auto;*/
        margin-left: 5%;
        margin-bottom: 20px;
        margin: auto;
        /*margin-top: 8%;*/
        /*font-size: 1.0vw;*/
    }

    .create_ticket_header {
        font-weight: 700;
        text-align: center;
        margin: 2% 0;
        font-size: 1rem;
    }

    .text-container_index {
        width: 96%;
        margin-top: 2%;
        margin-left: 2%;
        margin-right: 2%;
        text-align: center;
        font-size: 0.9em;
        font-weight: 700;
    }

    #frmNeoTempEisitirio .dx-field-item-help-text .dx-field-item-label-text {
        /*padding-right: 20px;*/
        /* border: 1px solid green;*/
        font-weight: 700;
        font-size: 1.2em;
    }
    #frmNeoTempEisitirio .dx-field-item-label-text {
        font-size: 1.2em;
        font-weight: 500;
    }

    .prostiki_btn .dx-button-mode-contained.dx-button-success {
        background-color: var(--color-success);
        border-color: transparent;
        color: #fff;
        margin-left:50%;
        font-size:1.2em;
        font-weight:700;
        margin-top:2%;
        /*margin-left:25%;*/

    }
    /* removed dead `footer2` selector (no leading dot -> matched no element). The real footer uses `.footer2`. */
}
@media screen and (min-width:1227px) and (max-width:1440px) {
    /* .nav-link.active,
    #myNavbar.active {
        font-family: Verdana, sans-serif;
        background-color: whitesmoke;
    }*/
    .custom-navbar {
        background-color: var(--color-surface);
        height:10%;
    }
    .nav-item {
        font-size: 1.3em;
    }

    .form_outside {
        transform: scale(0.75);
        position: relative;
        background-color: rgba(245, 245, 245, 0.7);
        border-radius: 20px;
        font-family: Verdana, sans-serif;
        width: 98%;
        margin-left: auto;
        margin-right: auto;
        /* margin-bottom: 100px;*/
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 4px 10px 0 rgba(0, 0, 0, 0.39);
        /*z-index:100;*/
        /*overflow:auto;*/
    }

    #form-container_index {
        width: 98%;
        /*border: 1px solid red;*/
        /*margin-top: auto;*/
        margin-left: 5%;
        margin-bottom: 20px;
        margin: auto;
        /*margin-top: 8%;*/
        /*font-size: 1.0vw;*/
    }

    .create_ticket_header {
        font-weight: 700;
        text-align: center;
        margin: 2% 0;
        font-size: 1.5rem;
    }

    .text-container_index {
        width: 96%;
        margin-top: 3%;
        margin-left: 2%;
        margin-right: 2%;
        text-align: center;
        font-size: 1.1em;
        font-weight: 700;
    }

    #frmNeoTempEisitirio .dx-field-item-help-text .dx-field-item-label-text {
        /*padding-right: 20px;*/
        font-size: 1.1em;
    }
    #frmNeoTempEisitirio .dx-field-item-label-text {
        font-size: 1.1em;
        font-weight: 500;
       
    }
    .prostiki_btn .dx-button-mode-contained.dx-button-success {
        background-color: var(--color-success);
        border-color: transparent;
        color: #fff;
        margin-left: 50%;
        font-size: 1.5em;
        font-weight: 700;
        margin-top: 2%;
        /*margin-left:25%;*/
    }
    /* removed dead `footer2` selector (no leading dot -> matched no element). The real footer uses `.footer2`. */
}
@media screen and (min-width:1441px){
    /* .nav-link.active,
    #myNavbar.active {
        font-family: Verdana, sans-serif;
        background-color: whitesmoke;
    }*/
    .custom-navbar {
        background-color: var(--color-surface);
        height:10%;
    }
    .nav-item{
        
        font-size:1.6em;
    }
    .form_outside {
        position: relative;
        background-color: rgba(245, 245, 245, 0.7);
        border-radius: 20px;
        font-family: Verdana, sans-serif;
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
        /* margin-bottom: 100px;*/
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 4px 10px 0 rgba(0, 0, 0, 0.39);
        /*z-index:100;*/
        /*overflow:auto;*/
    }

    #form-container_index {
        width: 98%;
        /*border: 1px solid red;*/
        /*margin-top: auto;*/
        margin-left: 5%;
        margin-bottom: 20px;
        margin: auto;
        /*margin-top: 8%;*/
        /*font-size: 1.0vw;*/
    }

    .create_ticket_header {
        font-weight: 700;
        text-align: center;
        margin: 2% 0;
        font-size: 2rem;
    }

    .text-container_index {
        width: 96%;
        margin-top: 6%;
        margin-left: 2%;
        margin-right: 2%;
        text-align: center;
        font-size: 1.3em;
        font-weight: 700;
    }

    #frmNeoTempEisitirio .dx-field-item-help-text .dx-field-item-label-text {
        /*padding-right: 40px;*/
        /* border: 1px solid green;*/
        font-size: 2em;
        /*font-size: 1vw;*/
    }
    #frmNeoTempEisitirio .dx-field-item-label-text {
        font-size: 1.3em;
        font-weight: 500;
       /* padding-right: 40px;*/
    }
    /*#frmNeoTempEisitirio .dx-field-item-label-text {
        font-size: 1vw;
        font-weight: 500;
    }*/
    /*.dx-box-item-content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        max-width: 100%;
        font-size: 16px;
    }*/
    .prostiki_btn .dx-button-mode-contained.dx-button-success {
        background-color: var(--color-success);
        border-color: transparent;
        color: #fff;
        margin-left: 50%;
        font-size: 2em;
        font-weight: 700;
        margin-top: 2%;
        /*margin-left:25%;*/
    }

    

}
.datagrid_container {
    height: 500px; /* Adjust the height as needed */
    position: relative;
    width: 90%;
    margin-top: 4%;
}

.datagrid {
    height: calc(100% - 50px); /* Subtract the height of the footer */
    overflow-y: auto;
}

/* Make grid containers responsive */
    /* .datagrid_indexpage responsive width/padding folded into the single top rule. */

    .datagrid_container_neo {
        width: 100%;
        max-width: 100%;
    }

    #business-customers-container {
        width: 100%;
        padding: 0;
    }

    /* Responsive master grid */
    #DataGridBusinessCustomersID {
        width: 100% !important;
        height: calc(100vh - 200px); /* Viewport height minus header/footer */
    }

    /* Responsive detail grids */
    .branches-detail-grid {
        width: 100% !important;
    }

    /* Responsive popup forms */
    @media (max-width: 768px) {
        .dx-popup-normal {
            width: 95% !important;
            max-width: 95% !important;
        }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        .dx-popup-normal {
            width: 85% !important;
            max-width: 85% !important;
        }
    }

    @media (min-width: 1025px) {
        .dx-popup-normal {
            width: 70% !important;
            max-width: 900px !important;
        }
    }

/* Modern container for the form */
/*#form-container_index {
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    margin: auto;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.3s ease-in-out;
}*/

/* Responsive adjustment */
/*@media (max-width: 768px) {
    #form-container_index {
        padding: 16px;
        max-width: 95%;
    }
}*/

/* Section header */
/*.create_ticket_header {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 16px;
}*/

/* Form button */
/*.prostiki_btn {
    margin-top: 20px;
    border-radius: 8px !important;
    font-weight: 600;
    padding: 12px 0;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 128, 0, 0.25);
}*/

/* Floating label style (optional with devextreme theme builder) */
/*.dx-texteditor-label {
    color: #777;
    font-size: 14px;
}*/

/* Global font + base size: consolidated into the top `body` rule. */

/* Navbar adjustments */
.navbar {
    font-size: 14px;
    padding-top: 0.4rem;
    /*padding-bottom: 0.4rem;*/
}

    .navbar .nav-link {
        padding: 0.3rem 0.8rem;
        /* font-size set by the consolidated `.navbar .nav-item, .navbar .nav-link` rule below */
    }

    /* Navbar dropdowns: size set by the consolidated `.navbar .dropdown-menu` rule below */

/* Footer text */
.footer2 {
    font-size: 13px;
    color: #666;
}

/* Form elements if needed */
.form-control,
.form-select {
    font-size: 14px;
    padding: 0.4rem 0.6rem;
}

h3,
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 400;
}
.navbar .nav-item,
.navbar .nav-link {
    display: flex;
    align-items: center;
    height: 60px; /* vertical consistency */
    font-size: 1rem; /* consolidated nav size (was 1.6rem base / 1.3rem desktop) */
    font-weight: 500;
    padding: 0 0.75rem;
}
.navbar .dropdown-menu {
    font-size: 0.95rem; /* consolidated dropdown size */
    padding: 0.3rem 0;
}
.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.25rem; /* consolidated brand size (was 1.3rem base / 1rem desktop) */
    font-weight: 600;
}
.logo {
    width: 80px;          /* folded in from the former duplicate `.logo` rule (overridden inline in _Layout for the navbar) */
    height: 50px;
    object-fit: contain;
    margin-right: 10px;
}

.input-group .btn {
    min-width: 40px;
}


.navbar .dropdown-menu .dropdown-item {
    padding: 0.4rem 1rem;
    font-weight: 400;
    font-size: 0.95rem; /* consolidated dropdown-item size (was 1.3rem) */
}


@media (min-width: 992px) {
    /* Desktop nav size now matches the consolidated base (1rem link / 1.25rem brand); only inter-item spacing differs here. */
    .navbar .nav-item {
        margin-right: 1.1rem;
    }
}
.navbar-nav {
    align-items: center;
}

.navbar .nav-link {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

/*INDEX PAGE STYLING*/
/* Hide number input arrows on Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide number input arrows on Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.overlay {
    width: 100%;
    max-width: 700px;
    padding: 30px;
    margin: auto;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.88);
    position: relative;
}
.form-control,
.form-select {
    width: 100%;
}

.language-switch {
    position: absolute;
    top: 15px;
    right: 15px;
    width: auto;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}


    .language-switch select {
        width: auto;
        padding-right: 30px;
        background-position: right 10px center;
        font-size: 0.875rem;
        font-weight: 500;
    }

.header-logo {
    max-height: 50px;
}

.form-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
@media (min-height: 700px) {
    .form-wrapper {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 10px;
    }
}
@media (max-height: 699px) {
    .form-wrapper {
        min-height: 120vh;
        
    }
}



@media (max-width: 576px) {
    .overlay {
        padding: 20px 15px;
        border-radius: 16px;
        max-width: 95%;
    }

    .language-switch {
        top: 10px;
        right: 10px;
    }

    .header-logo {
        max-height: 40px;
        margin-bottom: 10px;
    }

    #formTitle {
        font-size: 1.2rem;
    }

    .btn {
        font-size: 1rem;
        padding: 10px 16px;
    }

    .form-control,
    .form-select {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
    }

    .text-center.mt-4.small {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    #myNavbar {
        display: none !important;
    }
}

.flatpickr-day.green {
    background-color: #00a698 !important;
    color: white;
    border-radius: 150px;
}

.flatpickr-day.yellow {
    background-color: #f0ad4e !important;
    color: white;
    border-radius: 150px;
}

.flatpickr-day.orange {
    background-color: #ff9400 !important;
    color: white;
    border-radius: 150px;
}

.flatpickr-day.red {
    background-color: #d1435b !important;
    color: white;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
    border-radius: 150px;
}
.flatpickr-day.selected,  .flatpickr-day.selected:focus,  .flatpickr-day.selected:hover {
    background: #1bbc9b;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    border: solid 3px black !important;
}

@media (max-width: 400px) {
    .overlay {
        padding: 10px;
        max-width: 100%;
    }

    .form-control,
    .form-select {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }

    label.form-label {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .input-group .btn {
        padding: 4px 10px;
        font-size: 18px;
    }

    #formTitle {
        font-size: 1rem;
    }

    .btn-success {
        font-size: 1rem;
        padding: 10px;
        width: 100%;
    }

    .form-check-label {
        font-size: 0.8rem;
    }

    #ticketInfoText,
    #ticketInfoText1 {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}
label.form-label {
    font-size: 0.85rem;
    word-break: break-word;
}
#termsModal {
    width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    font-size: 0.85rem;
}
@media (max-width: 375px) {
    html {
        font-size: 14px;
    }
}
.overlay > *:last-child {
    margin-bottom: 0 !important;
}
.form-label {
    font-weight: bold;
}
/* Default (horizontal for medium+ screens) */
/* Default layout remains horizontal for large screens */
.quantity-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Adjust buttons and input on small screens */
@media (max-width: 576px) {
    .quantity-group {
        flex-direction: column;
        align-items: stretch;
    }

        .quantity-group input {
            order: 2;
            font-size: 1.2rem;
            padding: 0.5rem;
            height: 48px;
        }

        .quantity-group button {
            width: 60%;
            margin: 0 auto;
            font-size: 1.1rem;
            padding: 4px 0;
            height: 36px;
        }

            .quantity-group button:first-child {
                order: 1;
            }

            .quantity-group button:last-child {
                order: 3;
            }
}

