/* C:\Users\willi\Local Sites\buscorp\app\public\wp-content\themes\buscorp\css\escolha-assento.css */

/* CSS Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    background-color: #f2f2f7; /* Light Gray Background */
    color: #1d1d1f;
    margin: 0;
    padding: 20px;  /* Added padding to the entire body */
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Standardized Sizes for Consistency */
:root {
    --base-font-size: 16px;  /* Adjust this value to control overall scaling */
    --base-padding: 16px;
    --base-margin: 16px;
    --border-radius: 16px;
    --button-height: calc(var(--base-padding) * 2 + var(--base-font-size)); /* Establishes standard button sizes */
    --seat-size: calc(var(--base-font-size) * 2.75); /* Consistent seat size relative to font */
}

/* Main Container */
.escolha-assento-container {
    width: 100%;
    max-width: 600px; /* Increased max-width */
    margin: var(--base-margin) auto;
    padding: var(--base-padding);
    background-color: #ffffff; /* White background */
    border-radius: calc(var(--border-radius) * 1.5);  /* Slightly Larger radius */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Lighter shadow */
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reversed-seats {
	direction:rtl;
}

.escolha-assento-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent); /* Subtle divider */
}

/* Logo Container */
.logo-container {
    width:100%;
    display: flex;
    text-align: center;
    margin-bottom: var(--base-margin); /* Added margin */
}

.logo-container img {
    max-width: 250px; /* Slightly larger logo */
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); /* Lighter shadow */
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* Main Title */
h3 {
    text-align: center;
    color: #1d1d1f;
    margin: var(--base-margin) 0;
    font-size: calc(var(--base-font-size) * 1.5); /* Responsive font size */
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: none; /* Removed text shadow */
    padding: 0 calc(var(--base-padding) * 1.25); /* Responsive padding */
}

/* Bus Tabs */
.bus-tabs {
    display: flex;
    justify-content: center;
    margin: 0 var(--base-margin) calc(var(--base-margin) * 1.5); /* Increased margin */
    gap: calc(var(--base-margin) / 2);
    flex-wrap: wrap;
}

.bus-tab {
    background-color: #e5e5ea; /* Light Gray */
    color: #1d1d1f;
    border: none; /* Removed border */
    padding: calc(var(--base-padding) * 0.75) var(--base-padding);  /* Adjusted padding */
    border-radius: calc(var(--border-radius) * 1.25);  /* Adjusted radius */
    cursor: pointer;
    font-size: calc(var(--base-font-size) * 0.9);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: relative;
    overflow: hidden;
}

.bus-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.05); /* Very subtle overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bus-tab:hover::before {
    opacity: 1;
}

.bus-tab.active {
    background-color: #007aff; /* Primary Blue */
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2); /* Lighter shadow */
    transform: translateY(-1px);
}

.bus-tab:hover:not(.active) {
    background-color: #d4d4d8; /* Lighter Gray on Hover */
    transform: translateY(-1px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); /* Lighter Shadow */
}

/* Andar Selector (Floor Selector) - Hidden in this new layout */
.andar-selector {
    display: none; /* Hide the floor selector */
}

/* Bus Layout Container */
#bus-layout-container {
    margin: 0 var(--base-margin) calc(var(--base-margin) * 1.5);
    padding: var(--base-padding);
    background-color: #f7f7f7; /* Very Light Gray */
    border-radius: calc(var(--border-radius) * 1.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Bus Layout for each floor */
.bus-floor-layout { /* New class for individual floor layouts */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--base-margin) / 2);
    margin: 0 auto;
    max-width: 100%;
    margin-bottom: var(--base-margin); /* Spacing between floors */
    border: 1px solid #e0e0e0; /* Subtle border for each floor section */
    border-radius: var(--border-radius);
    padding: var(--base-padding);
    background-color: #ffffff; /* White background for each floor */
}

.floor-title { /* New class for floor titles (e.g., "1º Andar") */
    text-align: center;
    color: #1d1d1f;
    margin-bottom: var(--base-margin);
    font-size: calc(var(--base-font-size) * 1.25);
    font-weight: 600;
}


/* Steering wheel specific to first floor */
#steering-wheel {
    margin-top: calc(var(--base-margin) / 2);
    margin-bottom: var(--base-margin);
    font-size: calc(var(--base-font-size) * 3);
    color: #555;
    text-align: right; /* Position to the right */
    width: 100%;
    padding-right: 40px; /* Align with seat groups */
}

/* Seat Rows */
.seat-row {
    display: flex;
    gap: var(--base-margin);
    margin-bottom: calc(var(--base-margin) / 2);
    justify-content: space-between;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.seat-group {
    display: flex;
    gap: calc(var(--base-margin) / 3);
    padding: 0 calc(var(--base-margin) / 2);
}

/* Seats */
.seat {
    width: 120px !important;
    height: 120px !important;
    border-radius: calc(var(--border-radius) / 2);
    background-color: #ffffff; /* White */
    color: #1d1d1f;
    font-size: calc(var(--base-font-size) * 0.8);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0; /* Light Gray Border */

}

.seat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.03); /* Very subtle overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seat:hover::before {
    opacity: 1;
}

.seat:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Lighter shadow */
}

.seat.selected {
    background-color: #007aff; /* Primary Blue */
    color: #ffffff;
    box-shadow: none;
    transform: none;
    border: none;

}

.seat.selected::before {
    opacity: 0;
}

.seat.disabled {
    background-color: #f44336; /* Red */
    color: #ffffff;
    cursor: not-allowed;
    box-shadow: none;
    border: none;
    text-align: center;
}

.seat.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Legend */
.legend {
    display: flex;
    justify-content: center;
    gap: calc(var(--base-margin) * 1.5);
    margin-top: var(--base-margin);
    padding: calc(var(--base-padding) * 0.75);
    background-color: #f7f7f7; /* Very Light Gray */
    border-radius: calc(var(--border-radius) * 0.75);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    flex-wrap: wrap; /* Added for better mobile layout */
}

.legend div {
    display: flex;
    align-items: center;
    gap: calc(var(--base-margin) / 2);
    font-size: calc(var(--base-font-size) * 0.8);
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: calc(var(--base-margin) / 4); /* Add a small bottom margin */
}

.legend .square {
    width: calc(var(--base-font-size));
    height: calc(var(--base-font-size));
    border-radius: calc(var(--border-radius) / 4);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legend .enabled-box {
    background-color: #ffffff; /* White */
    border: 1px solid #e0e0e0; /* Light Gray Border */
}

.legend .disabled-box {
    background-color: #f44336; /* Red */
}

.legend .selected-box {
    background-color: #007aff; /* Primary Blue */
}

/* Floating Button Container */
.floating-button-container {
    z-index: 9999;
    position: fixed;
    bottom: 0; /* Stick to bottom */
    left: 0;
    right: 0;
    max-width: 600px; /* Ensures full width */
    padding: var(--base-padding);
    background-color: #ffffff; /* White background */
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow on top */
    border-top: 1px solid #e0e0e0; /* Light Gray Border on top */
    margin: 0 auto;
    border-radius: calc(var(--border-radius) * 1.5);  /* Slightly Larger radius */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin:0 auto;
}

/* Seats Counter */
.seats-remaining-counter {
    text-align: center;
    margin-bottom: calc(var(--base-margin) * 0.75);
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    padding: calc(var(--base-padding) / 2) var(--base-padding);
    background-color: #f7f7f7; /* Very Light Gray */
    border-radius: calc(var(--border-radius) * 0.75);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Selected Seats List */
.selected-seats-list {
    list-style: none;
    margin-bottom: var(--base-margin);
    padding: calc(var(--base-padding) * 0.75);
    background-color: #f7f7f7; /* Very Light Gray */
    border-radius: calc(var(--border-radius) * 0.75);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-height: fit-content;
    overflow-y: auto;
    width: 100%; /* Take up the full width */
    text-align: center;
}

.selected-seats-list::-webkit-scrollbar {
    width: 4px;
}

.selected-seats-list::-webkit-scrollbar-track {
    background-color: #f2f2f7; /* Light Gray */
    border-radius: 2px;
}

.selected-seats-list::-webkit-scrollbar-thumb {
    background-color: #d4d4d8; /* Lighter Gray */
    border-radius: 2px;
}

.selected-seats-list li {
     font-size:20px;
    font-weight: 500;
    color: #1d1d1f;
    padding: calc(var(--base-padding) / 4) 0;
    border-bottom: 1px solid #e0e0e0; /* Light Gray Border */
}

.selected-seats-list li:last-child {
    border-bottom: none;
}

/* Floating Button */
.floating-button {
    width: 100%;
    background-color: #007aff; /* Primary Blue */
    color: #ffffff;
    border: none;
    padding: var(--base-padding) calc(var(--base-padding) * 1.5);  /*Adjusted Padding*/
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: calc(var(--base-font-size) * 1.0);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2); /* Lighter shadow */
    position: relative;
    overflow: hidden;
    height: var(--button-height); /* Standard Button Height */
    font-size:24px;
}

.floating-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.05); /* Very subtle overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-button:hover::before {
    opacity: 1;
}

.floating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3); /* Lighter shadow */
}

.floating-button:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.floating-button i {
    margin-right: calc(var(--base-margin) / 2);
    font-size: 24px;
}

/* Message Display */
#mensagem-retorno {
    margin: var(--base-margin) calc(var(--base-margin) * 1.25);
    padding: var(--base-padding) calc(var(--base-padding) * 1.25);
    border-radius: calc(var(--border-radius) * 0.75);
    text-align: center;
    font-weight: 500;
    font-size: calc(var(--base-font-size) * 0.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    display: none;
}

#mensagem-retorno.success {
    background-color: #e5f8ea; /* Light Green */
    color: #1d4ed8;
    border: 1px solid #bbf1c5; /* Light Green Border */
}

#mensagem-retorno.error {
    background-color: #fdeded; /* Light Red */
    color: #dc2626;
    border: 1px solid #f5caca; /* Light Red Border */
}

/* Error Message */
.error-message {
    color: #dc2626;
    text-align: center;
    margin: var(--base-margin) calc(var(--base-margin) * 1.25);
    padding: calc(var(--base-padding) * 0.75) var(--base-padding);
    background-color: #fdeded; /* Light Red */
    border-radius: calc(var(--border-radius) * 0.75);
    border: 1px solid #f5caca; /* Light Red Border */
    font-weight: 500;
}

/* Loading Spinner */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: calc(var(--base-font-size) * 2.5);
    height: calc(var(--base-font-size) * 2.5);
    border: 3px solid rgba(0, 0, 0, 0.1); /* Light Gray */
    border-top: 3px solid #007aff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #1d1d1f;
    font-size: calc(var(--base-font-size) * 1.1);
    font-weight: 500;
    margin-top: calc(var(--base-margin));
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal Styles */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    display: none; /* Hidden by default */
    backdrop-filter: blur(5px); /* Subtle blur effect */
}

.modal {
    background-color: #ffffff; /* White modal background */
    border-radius: 20px; /* Larger radius for a modern look */
    border: none; /* Removes border */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); /* More subtle shadow */
    max-width: 450px; /* Increased max width for better readability */
    width: 90%;
    margin: auto; /* Center the modal */
    overflow: hidden; /* Hide overflowing content */
    position: relative; /* Needed for absolute positioning of close button */
}

.modal-content {
    padding: 30px; /* Increased padding */
    text-align: center; /* Center text */
}

/* Close button for modals */
.modal-close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px; /* Larger icon */
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10; /* Ensure it's above other content */

}


.modal-close-icon:hover {
    color: #000;
    transform: scale(1.1);
}

.modal-content label {
    display: block;
    font-size: 1.1rem; /* Larger label */
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.back-icon i {
    font-size: 50px;
    position: static;
    left: 30px;
    top:30px;
    color: #555;
}

.logo-container  {
    display: none;
}

.modal-content input[type="text"],
.modal-content input[type="email"] { /* Adicionado para input de email */
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd; /* Lighter border */
    border-radius: 10px; /* Modern input field radius */
    font-size: 18px;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="email"]:focus { /* Adicionado para input de email */
    outline: none;
    border-color: #007bff; /* Primary color on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2); /* Highlight on focus */
}

.modal-content p {
    font-size: 1.2rem; /* Larger paragraph text */
    font-weight: 600;
    color: #222; /* Darker color */
    margin-bottom: 25px;
}

.modal-content button {
    background-color: #007bff; /* Primary button color */
    color: white;
    padding: 15px 30px; /* Increased button padding */
    border: none;
    border-radius: 10px; /* Modern button radius */
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

.modal-content button:hover {
    background-color: #0056b3; /* Darker shade on hover */
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
}

.modal-content button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3); /* Focus ring */
}

.event-title {
    text-align: center;
    color: #555;
    margin: 10px 0;
    font-size: 24px; /* Adjust as needed */
    font-weight: 600;
}


.termos-menor-idade-link {
    text-decoration: none;
    color:#007aff;
    font-size: 24px;
    margin-bottom: 20px;
}

.back-icon {
    font-size:100px;
}

/* Specific overrides from original */
.floating-button  {
  min-height: fit-content;
}

.seat {
  width:70px;
  height: 70px;
  font-size: 18px;
}

.bus-tab {
  font-size: 24px;
}

.escolha-assento-container h3 {
  font-size: 24px;
}

.loading-spinner {
  width:100px;
  height: 100px;
  border: 20px solid rgba(0, 0, 0, 0.1); /* Light Gray */
  border-top: 20px solid #007AFF;
}

.loading-text {
  font-size:24px;
  color: #1d1d1f;
}

.seats-remaining-counter {
  width: 100%;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.bus-tab:focus,
.seat:focus,
.floating-button:focus {
    outline: 2px solid #007AFF;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Responsive Design */
@media (orientation: portrait) { /* Apply these styles only in portrait mode */

    body {
       padding:20px;
    }
    .loading-spinner {
      width:66.66px; /* 200px / 3 */
      height: 66.66px; /* 200px / 3 */
      border: 6.66px solid rgba(0, 0, 0, 0.1); /* 20px / 3 */
      border-top: 6.66px solid #007AFF; /* 20px / 3 */
    }

    .loading-text {
      font-size:23.33px; /* 70px / 3 */
       color: #1d1d1f;
    }

    .legend div {
      font-size: 20px !important; /* 60px / 3 */
      padding: 6.66px; /* 20px / 3 */
    }
    .escolha-assento-container {
        margin: 6.66px 0; /* 20px / 3 */
        border-radius: 13.33px; /* 40px / 3 */
        height:fit-content;
        padding-bottom:6.66px; /* 20px / 3 */
        min-width: 100%;
        margin: 0 auto;
        font-size:16.66px; /* 50px / 3 */
    }

    .escolha-assento-container h3 {
      font-size: 23.33px; /* 70px / 3 */
    }

    .modal {
      padding: 16.66px; /* 50px / 3 */
      min-width: 100%;
      border-radius: 13.33px; /* 40px / 3 */
    }

    /* Adjust close icon for portrait mode */
    .modal-close-icon {
        font-size: 20px; /* 60px / 3 */
        top: 10px; /* 30px / 3 */
        right: 10px; /* 30px / 3 */
    }

    .logo-container img {
        max-width:100px;  /* 300px / 3 */
        border-radius: 10.66px; /* 32px / 3 */
        margin: 0 auto;
    }

    .modal-container {
      padding: 6.66px; /* 20px / 3 */
    }

    h3 {
        font-size: 1rem;  /* 3rem / 3, ajustado para ser relativo e menor */
        margin: 10.66px 0;   /* 32px / 3 */
    }

    .bus-tabs {
        margin: 0 10.66px 13.33px;  /* 32px / 3 e 40px / 3 */
        gap: 5.33px;  /* 16px / 3 */
    }

    .bus-tab {
        padding: 6.66px 10.66px;  /* 20px / 3 e 32px / 3 */
        font-size:20px; /* 60px / 3 */
        border-radius: 13.33px; /* 40px / 3 */
    }

    #bus-layout-container {
        margin: 0 var(--base-margin) calc(var(--base-margin) * 1.5);  /* Maintain overall container margin */
        padding: 0; /* Remove padding from main layout container, individual floors will have padding */
        border-radius: 13.33px; /* 40px / 3 */
    }

    .bus-floor-layout { /* Apply responsive styles to new floor layout class */
        padding: 10.66px; /* 32px / 3 */
        margin-bottom: 13.33px; /* 40px / 3 */
        border-radius: 13.33px; /* 40px / 3 */
    }


    .seat {
        width:80px !important;  /* 150px / 3 */
        height:90px  !important;  /* 150px / 3 */
        font-size:10px !important; /* 60px / 3 */
        border-radius: 8px; /* 24px / 3 */
    }

    .seat-group {
        gap: 6.66px;  /* 20px / 3 */
    }

    .seat-row {
        gap:0 !important;
        justify-content: center;
    }

        /* Make Floating Button Sticky and Full Width */
    .floating-button-container {
        position: fixed;   /* Stick to the viewport */
        display: flex;
        flex-direction: column;
        bottom: 0;        /* Align to the bottom */
        left: 0;
        padding: 5.33px;     /*Reduce padding to not take too much space*/
        border-radius:0;
        min-width: 100%;
        margin: 0 auto;
    }

    .floating-button {
        padding: 8px 13.33px; /* 24px / 3 e 40px / 3 */
        font-size:20px; /* 60px / 3 */
    }

     .floating-button i {
      font-size: 20px; /* 60px / 3 */
     }

    .legend {
        gap: 6.66px;  /* 20px / 3 */
        flex-wrap: wrap;
        margin-top: 13.33px; /* 40px / 3 */
        margin-bottom:6.66px; /* 20px / 3 */
        border-radius:8px; /* 24px / 3 */
        flex-direction: column;
        align-items: center;
    }

    .legend div {
        font-size: 20px; /* 60px / 3 */
        font-weight: bolder;
        gap: 5.33px; /* 16px / 3 */
    }

    .seat-row {
      margin-bottom: 6.66px; /* 20px / 3 */
    }

    .legend .square {
        width: 10.66px; /* 32px / 3 */
        height: 10.66px; /* 32px / 3 */
    }
    .seats-remaining-counter {
        font-size: 20px; /* 60px / 3 */
    }

     .selected-seats-list li {
        font-size: 20px; /* 60px / 3 */
        padding: 4px 0; /* 12px / 3 */

    }
    .floating-button i {
        font-size:20px; /* 60px / 3 */
    }

    .event-title {
        font-size: 20px; /* 60px / 3 */
    }
    /* Hide andar selector in portrait as well, as it's not needed */
    .andar-selector {
        display: none !important;
    }

    .modal .modal-content p {
        font-size:16.66px; /* 50px / 3 */
    }
    .modal-content button {
        font-size:16.66px; /* 50px / 3 */
    }

    .modal-content input[type="text"]  {
        font-size:16.66px !important; /* 50px / 3 */
    }

    .modal-content label {
        font-size:16.66px; /* 50px / 3 */
    }
    .back-icon i {
        font-size:33.33px; /* 100px / 3 */
    }
    .floor-title {
        font-size: 20px; /* 60px / 3 */
    }
	* {
		font-size:14px;
	}
}


/* Portrait */
@media (orientation: portrait) {
  .doubleSeat {
    min-width: 175px !important;
  }
}

/* Landscape */
@media (orientation: landscape) {
  .doubleSeat {
    min-width: 245px !important;
  }
}

/* New Styles for Seat Content Layout */
.seat.disabled .main-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: white; /* Text color for disabled seats */
    font-family: 'Roboto', sans-serif; /* Using Roboto as in original image */
    font-weight: 500;
    text-align: center;
    overflow: hidden; /* Hide overflowing text */
}

.seat.disabled .top-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-grow: 1; /* Allow to take available space */
}

.seat.disabled .left-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 30%; /* Approx 1/3 width */
    max-width: 30%;
    border-right: 1px solid rgba(255, 255, 255, 0.5); /* White separator */
    font-size: 12px; /* Large font for seat number */
    padding: 0.2em;
    box-sizing: border-box;
}

.seat.disabled .top-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 70%; /* Approx 2/3 width */
    max-width: 70%;
    font-size: 0.9em; /* Smaller font for name */
    line-height: 1.2;
    padding: 0.2em;
    box-sizing: border-box;
    text-transform: uppercase; /* Match image style */
}

.seat.disabled .bottom-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-shrink: 0; /* Don't shrink */
    border-top: 1px solid rgba(255, 255, 255, 0.5); /* White separator */
    font-size: 0.7em; /* Even smaller font for departure location */
    padding: 0.2em;
    box-sizing: border-box;
    text-transform: uppercase; /* Match image style */
    height: 25%; /* Fixed height for the bottom block */
    min-height: 20px; /* Minimum height for readability */
}

/* Adjust font sizes for smaller screens */
@media (orientation: portrait) {
    .seat.disabled .left-block {
        font-size: 12px;
    }
    .seat.disabled .top-block {
        font-size: 8px;
    }
    .seat.disabled .bottom-block {
        font-size: 0.6em;
    }
}

/* Ensure text within the seat elements is vertically and horizontally centered */
.seat.disabled .main-block > div {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word; /* Prevents long words from overflowing */
}

/* Adjust base seat padding to give more room for content */
.seat {
    padding: 5px; /* Add some internal padding to seats */
}