.akk-configurator {
    /* max-width: 1200px; */
    margin: 0 auto;
    font-family: inherit;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 4fr;
    min-height: calc(100vH - 110px);
}


.akk-configurator select {
    appearance: none;
  padding-right: 40px;
  background: white url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>")
  no-repeat right 10px center;
  background-size: 14px;
}



/* Filters */
.akk-filters h1 {
    margin: 0;
    font-size: 1.75rem;
}

.akk-filters {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 12px 20px;
    padding: 1rem 1.25rem;
    background: var(--awb-color2);
}

.akk-filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 3rem;
}

.akk-filter-group label {
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.akk-filter-group select {
    padding: 4px 8px;
    border: 1px solid var(--awb-color3);
    font-size: 14px;
    width:100% ;
    height:3rem
}
.akk-filter-group.orientace {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}



.akk-filter-group input {
  appearance: none;          /* Remove default styling */
  -webkit-appearance: none;  /* Safari */
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--awb-color3);
  border-radius: 0;          /* No rounded corners */
  background-color: #fff;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
}

/* Checkmark */
.akk-filter-group input::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  transform: scale(0);
  transition: transform 0.1s ease-in-out;
  background-color: var(--awb-color5)
}

/* When checked */
.akk-filter-group input:checked::before {
  transform: scale(1);
}

/* Buttons */
.akk-btn {
    padding: 8px 16px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s, border-color 0.2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center
}

.akk-btn svg {
    fill: white;
    margin-right: 0.25rem;
}

.akk-btn:hover {
    /* background: #e9e9e9; */
    /* border-color: #999; */
}

.akk-btn-reset {
    background: var(--awb-color6);
    color:white;
    font-weight: 500;
    width: 100%;
    padding: 1.25rem;
    text-transform: uppercase;
}
.akk-btn-reset:hover {
    background: var(--awb-color7);
}

.akk-btn-pdf {
    background: white;
    color: var(--awb-color4);
    border:var(--awb-color4) solid 2px;
    margin-left: auto;
    padding: 1.5rem 2rem;
    height: auto;
    /* width: 100%; */
    margin-top: auto;
    text-transform: uppercase;
    font-weight: 500;
}


.akk-btn-pdf svg {
    fill: var(--awb-color4);
   
}

.akk-btn-pdf:hover{
   background: var(--awb-color4);
   color:white;
}
 .akk-btn-pdf:hover svg{
   fill:white;}

.akk-btn-pdf:disabled {
    background: #90caf9;
    border-color: #90caf9;
    color: #fff;
    cursor: wait;
}

/* Main layout */
.akk-main {
    display: flex;
    align-items: flex-start;
    height: 100%;
}

.akk-svg-area {
    flex: 1 1 60%;
    min-width: 0;
}

.akk-rooms-area {
    flex: 0 0 33%;
    height: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.akk-rooms-area h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

/* SVG container */
.akk-svg-container {
    /* border: 1px solid #ddd; */
    /* border-radius: 6px; */
    overflow: hidden;
    background: #fff;
    line-height: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

.akk-svg-container svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Navigation */
.akk-navigation {
    display: flex;
    align-items: center;
    /* justify-content: flex-end; */
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 1rem;
}

.akk-pagination {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.akk-pagination .akk-btn {
    font-size: 0.875rem;
}

.akk-counter {
    font-size: 14px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.akk-variant-select {
    padding: 8px 16px;
    border: 1px solid var(--awb-color3);
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    max-width: 140px;
    box-sizing: border-box;
    line-height: 1;
    height: auto;
    margin: 0;
    vertical-align: middle;
    min-height: 3rem;
}

.akk-navigation .akk-btn,
.akk-navigation .akk-variant-select {
    /* height: 36px; */
    box-sizing: border-box;
    border: 1px solid var(--awb-color3);
    min-height: 3rem;
}

/* Variant description */
.akk-variant-description {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 32px;
    margin-right: auto;
}

/* .akk-navigation {
    margin-bottom: 16px;
} */

/* Rooms table */
.akk-rooms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 1.25rem;
}

.akk-rooms-table th,
.akk-rooms-table td {
    padding: 8px 12px;
    /* border: 1px solid #ddd; */
    min-height: 3rem;
    text-align: left;
}

.akk-rooms-table td:last-child {
    text-align: right;
}

.akk-rooms-table thead th {
    /* background: #f0f0f0; */
    font-weight: 600;
}

/* .akk-rooms-table tbody tr:nth-child(even) {
    background: #fafafa;
} */

table#akk-rooms-table tr:not(:last-child) {
    border-bottom: solid 1px var(--awb-color3);
}

/* Empty state */
.akk-empty {
    padding: 40px;
    text-align: center;
    color: #888;
    font-size: 16px;
}

/* PDF form modal */
.akk-pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.akk-pdf-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.akk-pdf-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.akk-pdf-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 4px;
}

.akk-pdf-modal-close:hover {
    color: #000;
}

.akk-pdf-modal-body .fusion-form-form-wrapper {
    margin: 0;
    padding: 0;
}

/* Responsive */

@media (max-width: 1025px) {
.akk-rooms-area {
    flex: 0 0 45%;}
}


@media (max-width: 768px) {
    .akk-main {
        flex-direction: column;
    }

    .akk-rooms-area {
        flex: none;
        width: 100%;
        height: auto;
    }

    .akk-svg-area {
    flex: unset;
    width: 100%;
    margin-bottom: 1.25rem;
    }

    .akk-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .akk-mobile-filters a {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    margin: 0 !important;
    }

    
}


.akk-svg-container svg {
    max-height: calc(100vH - 220px);
}

/* div#akk-svg-stage path {
    fill: white !important;
} */
/* 
div#akk-svg-stage path[style="fill:#cfd4a2;"] {
    fill: var(--awb-color4)!important;
    fill-opacity:0.5;
}

div#akk-svg-stage path[style="fill:#69b2ff;fill-opacity:0.5;"], div#akk-svg-stage path[style="fill:#bedcff;"],
div#akk-svg-stage path[style="fill:#f7f7f7;stroke:#000;stroke-width:1.68px;"] {
    fill: #c8192a66!important;
    fill-opacity:0.5;
}


div#akk-svg-stage path[style="fill:#ddb682;stroke:#000;stroke-width:0.77px;"],
div#akk-svg-stage path[style="fill:#ddb682;stroke:#000;stroke-width:0.88px;"]{
    fill: var(--awb-color3)!important;
}

div#akk-svg-stage rect {
    fill: #ebebeb!important;
} */

@media (min-width:1201px) {
    .akk-filters, .akk-rooms-area {
        padding: 1rem 2rem;
    }
}