#gstro_details_section .details_table_row{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #0000001a;
}

#gstro_details_section .details_table_row_last_element{
    display: flex;
    flex-wrap: wrap;

}

#gstro_details_section .details_left{
    width: 40%;
    text-align: left;
    padding: 15px 0;
    line-height: 35px;
}

#gstro_details_section .details_right{
    width: 60%;
    text-align: left;
    padding: 15px 0;
    line-height: 35px;
    
}

#gstro_details_section .tableCircle{
    width: 15px;
    height: 15px;
    margin: auto 0;
    border-radius: 50%;
    border: 0px solid;
    opacity: 0.8;
    display: inline-block;
}

#gstro_details_section .gstro_details_resetPasswordRow{
    padding: 0px 0;
    line-height: 35px;
}

#gstro_details_section .gstro_details_resetPasswordRow input{
    border-radius: 5px;
}

#gstro_details_section .gstro_details_graficBox{
    padding: 15px 0;
}

#gstro_details_section .gstro_details_block{
    overflow-y: scroll;
}

#gstro_details_section .gstro_details_block div.details_table_row{
    min-width: 350px;
}

#gstro_details_section #chooseBarForm{
    margin-bottom: 2vw!important;
}

#gstro_details_section #locationIdFromList{
    margin-right: 30px!important;
}



@media only screen and (max-width: 782px) {
  
    #gstro_public_content #chooseBarForm {
      margin-bottom: 40px!important;
    }
}

#gstro_details_section form#changePassword {
    margin: 0;
}

#gstro_details_section form#changePassword div.gstro_details_resetPasswordRow input.gstro_text_input#newpassword,
#gstro_details_section form#changePassword div.gstro_details_resetPasswordRow input.gstro_text_input#newpassword2{     
    margin-bottom: 0;
    border-radius: 5px;
    border: 1px solid #E2E6EC;
    background-color: #FFF;
    height: 35px;
    color: rgb(3, 17, 31);
}

#gstro_details_section form#changePassword div.gstro_details_resetPasswordRow .column_one {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    width: 40%;
}

#gstro_details_section form#changePassword div.gstro_details_resetPasswordRow .column_two {
    display: inline-block;
    width: 59%; 
}

@media only screen and (max-width: 500px) {

    
    #gstro_details_section #locationIdFromList{
        margin-right: 0px!important;
    }
    
}

/* Slider Overlay */
#gstro_details_section .gstro_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 10000;
    visibility: hidden;
    transition: background-color 0.3s ease, visibility 0.3s ease;
}

#gstro_details_section .gstro_modal_overlay.gstro_slider_open {
    background-color: rgba(0, 0, 0, 0.5);
    visibility: visible;
}

/* Slider Content - Mobile First (volle Breite) */
#gstro_details_section .gstro_modal_content {
    position: fixed;
    top: 32px; /* Unterhalb WordPress Admin-Bar */
    right: 0;
    width: 100%;
    height: calc(100% - 32px);
    background: #fff;
    border-radius: 0;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

/* Mobile: Admin-Bar ist 46px hoch */
@media screen and (max-width: 782px) {
    #gstro_details_section .gstro_modal_content {
        top: 46px;
        height: calc(100% - 46px);
    }
}

/* Ohne Admin-Bar (ausgeloggt) */
body:not(.admin-bar) #gstro_details_section .gstro_modal_content {
    top: 0;
    height: 100%;
}

#gstro_details_section .gstro_modal_overlay.gstro_slider_open .gstro_modal_content {
    transform: translateX(0);
}

/* Slider Header */
#gstro_details_section .gstro_modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    flex-shrink: 0;
    border-bottom: 1px solid #e2e6ec;
}

#gstro_details_section .gstro_modal_header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    line-height: 1;
}

#gstro_details_section .gstro_modal_close {
    color: #333;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gstro_details_section .gstro_modal_close:hover {
    color: #000;
}

/* Slider Body */
#gstro_details_section .gstro_modal_body {
    padding: 0px 20px;
    flex: 1;
    overflow-y: auto;
}

#gstro_details_section .gstro_modal_section_title {
    font-size: 14px;
    color: #666;
    margin: 20px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e2e6ec;
}

#gstro_details_section .gstro_modal_section_title:first-of-type {
    margin-top: 30px;
}

#gstro_details_section .gstro_modal_row {
    margin-bottom: 6px;
}

#gstro_details_section .gstro_modal_row label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
    margin-top: 10px;
}

#gstro_details_section .gstro_modal_row:first-child label {
    margin-top: 0;
}

#gstro_details_section .gstro_modal_row input,
#gstro_details_section .gstro_modal_row select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e6ec;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
}

/* Readonly/Disabled Inputs */
#gstro_details_section .gstro_modal_row input.gstro_input_readonly {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

#gstro_details_section .gstro_modal_row input:focus,
#gstro_details_section .gstro_modal_row select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

#gstro_details_section .gstro_modal_row_double {
    display: flex;
    gap: 15px;
}

#gstro_details_section .gstro_modal_row_double > div {
    flex: 1;
}

/* Slider Footer */
#gstro_details_section .gstro_modal_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid #e2e6ec;
    background: #fff;
    flex-shrink: 0;
}

#gstro_details_section .gstro_modal_cancel {
    padding: 12px 24px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
}

#gstro_details_section .gstro_modal_cancel:hover {
    background: #f5f5f5;
    border-color: #999;
}

#gstro_details_section .gstro_modal_save {
    padding: 12px 24px;
    font-size: 14px;
    background-color: #3b8dc1;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#gstro_details_section .gstro_modal_save:hover {
    background-color: #006799;
}

/* Desktop: Slider schmaler */
@media (min-width: 768px) {
    #gstro_details_section .gstro_modal_content {
        width: 450px;
        max-width: 450px;
        border-radius: 0;
    }
}

/* Mobile: volle Breite, triple columns werden single */
@media only screen and (max-width: 500px) {
    #gstro_details_section .gstro_modal_row_double {
        flex-direction: column;
        gap: 15px;
    }
    
    #gstro_details_section .gstro_modal_row_triple {
        flex-direction: column;
        gap: 15px;
    }
    
    #gstro_details_section .gstro_modal_body {
        padding: 15px;
    }
    
    #gstro_details_section .gstro_modal_footer {
        padding: 15px;
    }
}

/* Triple column row for print materials */
#gstro_details_section .gstro_modal_row_triple {
    display: flex;
    gap: 15px;
}

#gstro_details_section .gstro_modal_row_triple > div {
    flex: 1;
}

#gstro_details_section .gstro_modal_row_triple input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e6ec;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
}

#gstro_details_section .gstro_modal_row_triple input[type="number"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

/* Edit Details Main Button */
#gstro_details_section .gstro_details_edit_button_wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
}

#gstro_details_section #gstro_edit_details_btn_main {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    background-color: #3b8dc1;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#gstro_details_section #gstro_edit_details_btn_main:hover {
    background-color: #006799;
}

/* Select gleiche Höhe wie Input */
#gstro_details_section .gstro_modal_row select {
    height: 42px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 35px;
}

/* Checkbox Row */
#gstro_details_section .gstro_modal_checkbox_row {
    margin-bottom: 15px;
}

#gstro_details_section .gstro_checkbox_label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

#gstro_details_section .gstro_checkbox_label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #3b8dc1;
}

#gstro_details_section .gstro_checkbox_label span {
    margin-top: 0;
}

/* Toggle Switch Card */
#gstro_details_section .gstro_toggle_card {
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

#gstro_details_section .gstro_toggle_card:first-of-type {
    margin-top: 20px;
}

#gstro_details_section .gstro_toggle_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
}

#gstro_details_section .gstro_toggle_header span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Modern Toggle Switch */
#gstro_details_section .gstro_toggle_switch {
    position: relative;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

#gstro_details_section .gstro_toggle_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#gstro_details_section .gstro_toggle_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

#gstro_details_section .gstro_toggle_slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#gstro_details_section .gstro_toggle_switch input:checked + .gstro_toggle_slider {
    background-color: #3b8dc1;
}

#gstro_details_section .gstro_toggle_switch input:checked + .gstro_toggle_slider:before {
    transform: translateX(22px);
}

/* Expandable Fields */
#gstro_details_section .gstro_toggle_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 16px;
    background: #f9fafb;
    border-top: 0 solid #e2e6ec;
}

#gstro_details_section .gstro_toggle_content.gstro_expanded {
    max-height: 800px;
    padding: 16px;
    border-top: 1px solid #e2e6ec;
}

#gstro_details_section .gstro_toggle_content .gstro_modal_row:last-child {
    margin-bottom: 0;
}

/* Conditional Fields Container (legacy) */
#gstro_details_section .gstro_conditional_fields {
    transition: opacity 0.3s ease, max-height 0.3s ease;
    overflow: hidden;
}

#gstro_details_section .gstro_conditional_fields.gstro_fields_disabled {
    opacity: 0.5;
    pointer-events: none;
}

#gstro_details_section .gstro_conditional_fields.gstro_fields_disabled input {
    background-color: #f5f5f5;
    color: #999;
}