/* Property Portfolio Styles */
.property-portfolio {
    margin: 0 auto;
    padding: 20px;
    background-color: #f6f6f6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.property-header h1 {
    font-size: 32px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
}

.add-properties-btn {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
    margin-left: auto;
    white-space: nowrap;
}

.add-properties-btn:hover {
    background-color: #3367d6;
}

.add-properties-btn .add-icon::before {
    content: '+';
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-right: 6px;
}

.property-subtitle {
    text-align: center;
    margin-bottom: 40px;
}

.property-subtitle h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
}

.property-subtitle h2 strong {
    font-weight: 600;
}

.property-subtitle span.highlight {
    color: #000;
    font-weight: 300;
    font-style: normal;


}

.content-grid {
    margin-bottom: 40px;
    padding: 0 15px;
}

.property-section {
    background-color: white;
    width: 100%;
    height: 518px;
    border-radius: 6.58px;
    border: 0.94px solid #e0e0e0;
    padding: 30px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: rotate(0deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.section-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 15px;
    font-weight: 500;
    padding: 4px 18px;
    border-radius: 15px;
    letter-spacing: 0.5px;
}

.digital .section-badge {
    background-color: #e8f0fe;
    color: #1a73e8;
}

.printed .section-badge {
    background-color: #e8f5e8;
    color: #34a853;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.digital .section-icon {
    background-color: #e8f0fe;
    color: #1a73e8;
}

.printed .section-icon {
    background-color: #e8f5e8;
    color: #34a853;
}

.section-content {
    flex: 1;
}

.section-content p {
    font-size: 13px;
    color: #666;
    margin: 0 0 25px 0;
    line-height: 1.4;
}

.device-selection,
.product-selection {
    margin-bottom: 25px;
    flex-grow: 1;
}

.selection-label {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.option {
    font-size: 14px;
    color: #666;
    padding: 4px 0;
    line-height: 1.3;
}

.configure-btn {
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
    margin-top: auto;
}

.configure-btn:hover {
    background-color: #333;
}

.configure-btn::after {
    content: '→';
    font-size: 14px;
}

.bottom-section {
    text-align: center;

}

.bottom-section h4 {
    font-weight: 700;
    font-style: Bold;
    font-size: 18.79px;
    line-height: 100%;
    letter-spacing: 0%;

}

/* Venue Cards Section */
.venue-section-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 40px 0 30px 0;
}

.venue-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
    padding: 0 10px;
}

.venue-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Image Carousel Section */
.venue-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.venue-carousel img {
    width: 80px;
    height: 80px;
    opacity: 0.4;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    z-index: 2;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.venue-status-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-text {
    font-size: 12px;
    font-weight: 500;
    color: #666;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-switch.live {
    background: #4caf50;
}

.toggle-switch.paused {
    background: #f44336;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch.live .toggle-slider {
    transform: translateX(20px);
}

.sales-ranking {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
}

.scroll-hint {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
}

/* Venue Information */
.venue-info {
    text-align: center;
    margin-bottom: 20px;
}

.venue-name-dropdown {
    position: relative;
    margin-bottom: 5px;
}

.venue-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.venue-location {
    font-size: 12px;
    color: #888;
    margin: 5px 0 0 0;
}

.by-month {
    color: #e74c3c;
    font-size: 11px;
    font-weight: 500;
}

/* Metrics Section */
.venue-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}

.metric-dropdown {
    flex: 1;
    text-align: center;
}

.metric-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.metric-select {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    padding-right: 25px;
}

.metric-select:focus {
    outline: none;
    border-color: #4285f4;
}

.metric-select.percentage {
    background-color: #fff3e0;
    border-color: #ff9800;
}

.metric-select.revenue {
    background-color: #e8f5e8;
    border-color: #4caf50;
}

/* Revenue Section */
.venue-revenue {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}

.revenue-item {
    flex: 1;
    text-align: center;
}

.revenue-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.revenue-select {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #4caf50;
    border-radius: 6px;
    background: #e8f5e8;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    padding-right: 25px;
}

.revenue-select:focus {
    outline: none;
    border-color: #2e7d32;
}

/* Date Section */
.venue-date {
    text-align: center;
}

.date-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.date-input {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.date-input:focus {
    outline: none;
    border-color: #4285f4;
}

/* New Venue Display Cards Section - Inside Property Portfolio */
.venue-cards-container {
    margin-top: 30px;
    padding: 0 15px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.venue-display-card {
    background: transparent;
    padding: 0;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}


/* Display Carousel Section */
.display-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: rgba(217, 217, 217, 1);
    margin-bottom: 0;
    overflow: hidden;
}

.display-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.display-main-image {
    width: 80px;
    height: 80px;
    opacity: 0.4;
    object-fit: contain;
}

.carousel-scroll-hint {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    z-index: 3;
}

.display-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    width: 0;
    height: 0;
    font-size: 0;
    transition: all 0.3s;
}



.display-nav-prev {
    left: 4px;
    width: 46.999999214755015px;
    height: 41.99999929829172px;
    border-left: 23px solid white;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    transform: translateY(-50%) rotate(-180.02deg);
    opacity: 1;
}



.display-nav-next {
    right: 4px;
    width: 47px;
    height: 42px;
    border-right: 23px solid white;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    transform: translateY(-50%) rotate(-182deg);
    opacity: 1;

}



.display-ranking {
    position: absolute;
    bottom: 15px;
    right: 7px;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    z-index: 3;
    width: 31px;
    height: 31px;
    opacity: 1;
    text-align: center;

}

/* Display Status Toggle */
.display-status-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 3;
}

.display-status-label {
    font-weight: 700;
    font-style: Bold;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;

}

.display-toggle-switch {
    position: relative;
    width: 40px;
    height: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.display-toggle-switch.paused {
    background: #f44336;
}

.display-toggle-switch.live {
    background: #4caf50;
}

.display-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.display-toggle-switch.live .display-toggle-slider {
    transform: translateX(20px);
}

/* Display Venue Information */
.display-venue-info {
    background: #ffffff;
    padding: 20px;
    text-align: center;
    margin: 0;
}

.display-venue-name-section {
    margin-bottom: 5px;
    text-align: left;
}

.display-venue-name-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 25px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.display-venue-name-select:focus {
    outline: none;
    border-color: #4285f4;
}

.display-venue-name {
    font-weight: 700;
    font-style: Bold;
    font-size: 18.79px;

}

.display-venue-location {
    font-size: 12px;
    color: #888;
    margin: 5px 0;
}

.display-by-month {

    font-weight: 400;
    font-style: normal;
    font-size: 12px;


}

/* Display Metrics Section */
.display-venue-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
    background-color: #fff;
}

.display-metric-group {
    flex: 1;
    text-align: center;
}

.display-metric-label {
    font-size: 16px;
    color: #000;
    margin-bottom: 5px;
    font-weight: 500;
}

.display-metric-select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #000000;
    border-radius: 10px;
    background: white;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 25px;
    text-align: center;
}

/* Special styling for percentage display metric selects */
.display-metric-select.display-percentage {
    position: relative;
}

.display-metric-select:focus {
    outline: none;
    border-color: #4285f4;
}

/* .display-metric-select.display-percentage {
    background-color: #fff3e0;
    border-color: #ff9800;
} */

/* Display Revenue Section */
.display-venue-revenue {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.display-revenue-group {
    flex: 1;
    text-align: center;
}

.display-revenue-label {
    font-size: 16px;
    color: #000;
    margin-bottom: 5px;
    font-weight: 500;
}

.display-revenue-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #000000;
    border-radius: 10px;
    /* background: #e8f5e8; */
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 25px;
    text-align: center;
}

/* Special styling for revenue selects with placeholder dollar sign */
.display-revenue-select[value=""] {
    position: relative;
}

.display-revenue-select:focus {
    outline: none;
    border-color: #2e7d32;
}

.display-date-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #000000;
    border-radius: 10px;
    background: white;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.display-date-input:focus {
    outline: none;
    border-color: #4285f4;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.nav-arrow.left {
    left: 10px;
}

.nav-arrow.right {
    right: 10px;
}

.nav-arrow:hover {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1000px) {
    .content-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .venue-cards,
    .venue-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .property-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .property-header h1 {
        text-align: center;
    }

    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .display-venue-metrics,
    .display-venue-revenue {
        flex-direction: column;
        gap: 15px;
    }

    .display-metric-group,
    .display-revenue-group {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 500px) {
    .property-section {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 450px;
    }

    .property-portfolio {
        padding: 15px;
    }

    .content-grid {
        gap: 15px;
    }
}

.indoor-digi {
    text-align: center;
}

/* App Login Section Styles */
.display-app-login-section {
    margin-top: 20px;
    /* background: #ffffff; */
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
}

.display-app-login-tabs {
    display: flex;
    background: transparent;
    border: 2px solid #000000;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 15px;
}

.display-app-tab {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    position: relative;
    border-right: 2px solid #000000;
}

.display-app-tab:first-child {
    border-radius: 23px 0 0 23px;
}

.display-app-tab:last-child {
    border-radius: 0 23px 23px 0;
    border-right: none;
}

.display-app-tab.active {
    background: #ff6b35;
    color: white;
}

.display-app-tab:hover:not(.active) {
    background: #f8f9fa;
    color: #333;
}

.display-app-content {
    position: relative;
    padding: 15px;
}

.display-app-input-group {
    display: none;
}

.display-app-input-group.active {
    display: block;
}

.display-app-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    color: #333;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.display-app-input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.display-app-input::placeholder {
    color: #999;
    font-size: 11px;
}

/* Responsive adjustments for app login section */
@media (max-width: 768px) {
    .display-app-tab {
        padding: 10px 6px;
        font-size: 10px;
    }

    .display-app-content {
        padding: 12px;
    }

    .display-app-input {
        padding: 8px 10px;
        font-size: 11px;
    }
}

/* Product Info Section Styles */
.venue-name-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.availability-status {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.availability-status.available {
    background-color: #4caf50;
    color: white;
}

.availability-status.booked {
    background-color: #dc3545;
    color: white;
}

.venue-size-badge {
    background-color: #2196f3;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
    margin-top: 5px;
}

.product-info-section {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    margin-left: 16px;
}

.product-info-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info-label {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    margin-left: 2px;
    text-align: left;
}

.product-info-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #000000;
    border-radius: 8px;
    font-size: 12px;
    color: #000;
    background: white;
    box-sizing: border-box;
    font-weight: 400;

}

.product-info-input:focus {
    outline: none;
}

.product-info-input::placeholder {
    color: #999;
    font-size: 10px;
}

/* Text alignment helpers */
.text-left {
    text-align: left !important;
}

/* Responsive adjustments for product info */
@media (max-width: 768px) {
    .product-info-section {
        flex-direction: column;
        gap: 8px;
    }

    .venue-name-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

.addigi {
    font-weight: 400;
    font-size: 24px;
}

.digitaldisplay {
    background: rgba(255, 255, 255, 1);
    border-radius: 20px;
}

.indodigi {
    background-color: rgba(243, 243, 245, 1);
    ;
}

/* Disable the old CSS pseudo-element tooltip to avoid double tooltips */
.tooltip-label::after,
.tooltip-label::before {
    display: none !important;
    content: none !important;
}

/* Body-level tooltip styles */
.app-tooltip {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
}

.app-tooltip[hidden] {
    display: none !important;
}

.app-tooltip .app-tooltip-content {
    background: #111;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    max-width: 280px;
    width: max-content;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.app-tooltip .app-tooltip-arrow {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #111;
    transform: rotate(45deg);
}

.app-tooltip[data-placement="top"] .app-tooltip-arrow {
    bottom: -5px;
}

.app-tooltip[data-placement="bottom"] .app-tooltip-arrow {
    top: -5px;
}

/* Display tabs styles (refined UI) */
.display-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 12px auto 18px;
    /* center the container */
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    /* remove full-width line */
    width: fit-content;
    /* shrink to content so only the short underline shows */
    font-size: 20px;
}

.display-tab {
    position: relative;
    appearance: none;
    border: 0;
    background: transparent;
    /* no pill background */
    color: #111;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    transition: color 160ms ease;
}

.display-tab:hover {
    color: #0D5EF8;
}

.display-tab:active {
    transform: translateY(1px);
}

.display-tab:focus-visible {
    outline: 2px solid #0D5EF8;
    outline-offset: 2px;
    border-radius: 12px;
}

.display-tab.active {
    background: transparent;
    /* keep clean */
    color: #111;
    box-shadow: none;
}

.display-tab.active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    height: 4px;
    border-radius: 3px;
    width: 80px;
    /* short blue indicator */
    background: #3B82F6;
}

.display-section {
    display: none;
}

.display-section.active {
    display: block;
}

/* Tooltip styles for metric/revenue labels */
.tooltip-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

/* Hide the info icon - tooltip opens when hovering the label text */
.tooltip-label .tip-icon {
    display: none;
}

/* Inline SVG info icon (independent of Font Awesome) */
.metric-info {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
    color: #6b7280;
    /* uses currentColor in SVG */
    cursor: help;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.metric-info:hover {
    color: #0D5EF8;
}

/* Inline SVG icon container and styling */
.metric-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
    color: #6b7280;
    /* base icon color */
}

.metric-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor'%3E%3Ccircle cx='12' cy='12' r='9' stroke-width='3'/%3E%3Crect x='11' y='10' width='2' height='6' rx='1' fill='currentColor' stroke='none'/%3E%3Ccircle cx='12' cy='8' r='1.5' fill='currentColor' stroke='none'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Hide any inline shapes inside the SVG (we're using the background image) */
.metric-icon>* {
    display: none;
}

.metric-tip:hover {
    color: #0D5EF8;
}

/* Select styling: pill with orange border and right-side orange arrow */
.display-metric-select,
.display-revenue-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #000;
    /* rgba(236, 100, 10, 1) */
    border-radius: 14px;
    background-color: #fff;
    padding: 6px 44px 6px 14px;
    /* room for arrow */
    height: 36px;
    line-height: 1.2;
    color: #111;
    cursor: pointer;
    /* Right orange block + white chevron */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 2 L5 5 L9 2 Z' fill='%23fff'/%3E%3C/svg%3E"),
        linear-gradient(to right, #ffffff calc(100% - 36px), #EC640A calc(100% - 36px));
    background-repeat: no-repeat, no-repeat;
    background-position: right 12px center, 0 0;
    background-size: 12px 8px, 100% 100%;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.display-metric-select:hover,
.display-revenue-select:hover {
    box-shadow: 0 0 0 3px rgba(236, 100, 10, 0.12);
}

.display-metric-select:focus,
.display-revenue-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 100, 10, 0.2);
}

/* Hide old IE arrow if present */
select::-ms-expand {
    display: none;
}

/* Position tooltip ABOVE the label and align left with the label to avoid clipping near viewport edges */
.tooltip-label::after {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    background: #111;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    max-width: 360px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index: 9999;
    line-height: 1.35;
    font-size: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
    pointer-events: none;
}

.tooltip-label::before {
    content: "";
    position: absolute;
    left: 12px;
    bottom: calc(100% + 4px);
    width: 10px;
    height: 10px;
    background: #111;
    transform: rotate(45deg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease;
    z-index: 9998;
}

.tooltip-label:hover::after,
.tooltip-label:focus-within::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-label:hover::before,
.tooltip-label:focus-within::before {
    opacity: 1;
    visibility: visible;
}

/* Info icon: circled i using currentColor so it matches text/hover */
.metric-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.metric-icon>* {
    display: none;
}

.metric-tip:hover {
    color: #0D5EF8;
}

/* Unified select styling (metrics and revenue) */
.display-metric-select,
.display-revenue-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #111;
    /* outer stroke like the mock */
    border-radius: 14px 0 0 14px;
    background-color: #fff;
    padding: 6px 40px 6px 8px;
    /* room for arrow block */
    height: 40px;
    line-height: 1.2;
    color: #111;
    cursor: pointer;

    /* Orange block on the right with black outline and a light gray chevron */

    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-position:
        right 8px center,
        0 0,
        right 0 top 0,
        right 0 bottom 0,
        right 0 center,
        right 40px center;
    background-size:
        20px 15px,
        100% 100%,
        40px 2px,
        40px 2px,
        2px 100%,
        2px 100%;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.display-metric-select:hover,
.display-revenue-select:hover {
    box-shadow: 0 0 0 3px rgba(236, 100, 10, 0.12);
}

.display-metric-select:focus,
.display-revenue-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 100, 10, 0.2);
}

select::-ms-expand {
    display: none;
}

/* Attach the 3 revenue selects into one continuous pill */
.display-venue-revenue {
    display: flex;
    gap: 0;
}

.display-venue-revenue .display-revenue-group {
    flex: 1 1 0%;
}

.display-venue-revenue .display-revenue-group .display-revenue-label {
    margin-bottom: 10px;
}

.display-venue-revenue .display-revenue-group:first-child .display-revenue-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.display-venue-revenue .display-revenue-group:nth-child(2) .display-revenue-select {
    border-radius: 0;
}

.display-venue-revenue .display-revenue-group:last-child .display-revenue-select {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -2px;
}

/* Remove hover/focus green glow and keep border color constant */
.display-metric-select,
.display-revenue-select {
    -webkit-tap-highlight-color: transparent;
    border-color: #111 !important;
}

.display-metric-select:hover,
.display-revenue-select:hover,
.display-metric-select:focus,
.display-revenue-select:focus,
.display-metric-select:focus-visible,
.display-revenue-select:focus-visible,
.display-metric-select:active,
.display-revenue-select:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: #111 !important;
    filter: none !important;
}

/* Display Type Badge Styles */
.display-type-badge {
    position: absolute;
    top: 12px;
    left: 10px;
    background: rgba(95, 95, 95, 1);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(2px);
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-type-badge {
        top: 10px;
        left: 45px;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 12px;
    }
}

/* Booking Status Section Styles (Red Theme - Left Cards) */
.booking-status-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.booking-buttons {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
}

.booking-btn {
    flex: 1;
    padding: 6px 16px;
    border: 1px solid #dc3545;
    background: white;
    color: #dc3545;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
}

.booking-btn:first-child {
    border-radius: 15px 0 0 15px;
}

.booking-btn:last-child {
    border-radius: 0 15px 15px 0;
    border-left: none;
}

.booking-btn.active {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.booking-btn:hover {
    background: #dc3545;
    color: white;
}

.booking-btn svg {
    width: 10px;
    height: 10px;
    transition: transform 0.3s ease;
}

.booking-btn.active svg {
    transform: rotate(180deg);
}

.booking-dropdown {
    margin-top: 8px;
    animation: slideDown 0.3s ease;
}

.booking-date-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dc3545;
    border-radius: 6px;
    background: white;
    color: #dc3545;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-date-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

/* Available Status Section Styles (Green Theme - Right Cards) */
.available-status-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.available-buttons {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
}

.available-btn {
    flex: 1;
    padding: 6px 16px;
    border: 1px solid #28a745;
    background: white;
    color: #28a745;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
}

.available-btn:first-child {
    border-radius: 15px 0 0 15px;
}

.available-btn:last-child {
    border-radius: 0 15px 15px 0;
    border-left: none;
}

.available-btn.active {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.available-btn:hover {
    background: #28a745;
    color: white;
}

.available-btn svg {
    width: 10px;
    height: 10px;
    transition: transform 0.3s ease;
}

.available-btn.active svg {
    transform: rotate(180deg);
}

.last-booked-dropdown {
    margin-top: 8px;
    animation: slideDown 0.3s ease;
}

.last-booked-date-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #28a745;
    border-radius: 6px;
    background: white;
    color: #28a745;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.last-booked-date-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

/* Blue border for available cards */
.venue-display-card.available-card {
    border: 2px solid #007bff;
    border-radius: 8px;
}

/* Size badge for available cards */
.display-size-badge {
    position: absolute;
    top: 50px;
    left: 12px;
    background: #007bff;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {

    .booking-btn,
    .available-btn {
        padding: 5px 12px;
        font-size: 12px;
    }

    .booking-date-select,
    .last-booked-date-select {
        padding: 6px 10px;
        font-size: 12px;
    }

    .display-size-badge {
        left: 10px;
        font-size: 9px;
        padding: 1px 4px;
    }
}

/* Booking/Last Booked Dropdown Selects with Orange Arrow */
.last-booked-dropdown-select,
.booking-dropdown-select,
.last-booked-dropdown select,
.booking-dropdown select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    border: 2px solid #111;
    border-radius: 14px;
    background-color: #fff;
    padding: 8px 44px 8px 14px;
    height: 40px;
    color: #111;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;

    /* Orange block on the right with simple arrow */
    background-image:
        url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23fff" d="M2 5L0 3h4z"/></svg>'),
        linear-gradient(to right, #ffffff calc(100% - 36px), #EC640A calc(100% - 36px));
    background-position:
        calc(100% - 18px) center,
        0 0;
    background-size:
        12px 12px,
        100% 100%;
    background-repeat: no-repeat, no-repeat;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.last-booked-dropdown-select:focus,
.booking-dropdown-select:focus,
.last-booked-dropdown select:focus,
.booking-dropdown select:focus {
    outline: none;
    border-color: #111 !important;
}

/* FONT SIZE SEPARATION SOLUTION */
/* Default font size for all dropdowns - start with smaller size */
.display-metric-select.display-percentage,
.display-revenue-select {
    font-size: 15px;
    font-weight: 500;
}

/* Make ONLY % symbols bigger by targeting NON-last-booked elements */
.display-metric-select.display-percentage:not(.last-booked-font) option[value=""],
.display-metric-select.display-percentage:not(.last-booked-font)[value=""] {
    font-size: 22px !important;
    font-weight: 500 !important;
}

/* Make ONLY $ symbols bigger (these don't conflict with Last Booked) */
.display-revenue-select option[value=""],
.display-revenue-select[value=""] {
    font-size: 22px !important;
    font-weight: 300 !important;
}

/* Force Last Booked and Booked Until dropdowns to use smaller font */
select.last-booked-font,
select.last-booked-font.display-metric-select.display-percentage {
    font-size: 15px !important;
    font-weight: 500 !important;
}

select.last-booked-font option,
select.last-booked-font.display-metric-select.display-percentage option {
    font-size: 15px !important;
    font-weight: 500 !important;
}

select.last-booked-font option[value=""],
select.last-booked-font.display-metric-select.display-percentage option[value=""] {
    font-size: 15px !important;
    font-weight: 500 !important;
}

select.last-booked-font[value=""],
select.last-booked-font.display-metric-select.display-percentage[value=""] {
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* Reset font size when an actual option is selected */
.display-metric-select.display-percentage:not([value=""]),
.display-revenue-select:not([value=""]) {
    font-size: 15px;
    font-weight: 600;
}

/* Font size for Last Booked and Booked Until dropdowns */
.last-booked-dropdown-select,
.booking-dropdown-select {
    font-size: 15px !important;
    font-weight: 500 !important;
}

.last-booked-dropdown-select option,
.booking-dropdown-select option {
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* Override font size for Last Booked and Booked Until placeholder text specifically */
.last-booked-dropdown-select option[value=""],
.booking-dropdown-select option[value=""] {
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* Override font size when Last Booked/Booked Until dropdowns show placeholder */
.last-booked-dropdown-select[value=""],
.booking-dropdown-select[value=""] {
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* Target Last Booked placeholder specifically by ID and content */
select[id*="last-booked"] option[value=""] {
    font-size: 15px !important;
    font-weight: 500 !important;
}

select[id*="booking-until"] option[value=""] {
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* Target Last Booked dropdowns when showing placeholder */
select[id*="last-booked"][value=""],
select[id*="booking-until"][value=""] {
    font-size: 15px !important;
    font-weight: 500 !important;
}
