/* Visit Map Widget Styles */

.visit-map-widget {
    padding: 5rem;
}

.visit-map-container {
    max-width: 1440px;
    margin: 0 auto;
}

.visit-map-content {
    padding: 1.5rem;
    background-color: #FFFFFF;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.visit-map-title {
    color: #1E3268;
    margin-bottom: 1rem;
    margin-top: 0;
}

.visit-map-description {
    color: #1E3268;
    margin-bottom: 1rem;
}

.visit-map-details {
    color: #1E3268;
    margin-bottom: 1rem;
}

.visit-map-address {
    color: #1E3268;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.visit-map-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Plan Your Visit content */
.visit-plan {
    color: #1E3268;
}

.visit-plan-title {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.visit-plan-intro {
    font-size: 1.25rem;
}

.visit-plan-section-heading {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.visit-plan-icon {
    vertical-align: text-bottom;
    margin-right: 0.25rem;
}

.visit-plan-table {
    border: none !important;
    border-collapse: collapse;
    width: 100%;
}

.visit-plan-table tr {
    border: none !important;
    background-color: transparent !important;
}

.visit-plan-table td {
    border: none !important;
}

.visit-plan-label {
    text-align: left;
    padding-left: 1.5rem;
}

.visit-plan-value {
    text-align: right !important;
}

.visit-plan-footer {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.visit-plan-footer-col {
    flex: 1;
}

.visit-plan-footer-text {
    margin: 0;
}

/* Remove td top/bottom padding inside visit map content */
.visit-map-content td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Hide the copy table button for visit plan tables */
.visit-plan .copy-table-button,
.visit-map-content .copy-table-button {
    display: none !important;
}

.visit-map-iframe-container {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.visit-map-iframe-container iframe {
    border: 0;
    min-height: 400px;
}

/* Background color variations */
.visit-map-bg-white {
    background-color: #FFFFFF;
}

.visit-map-bg-light-blue {
    background-color: #00B2EB;
}

.visit-map-bg-purple {
    background-color: #DCBDFF;
}

.visit-map-bg-navy {
    background-color: #1e3268;
}

.visit-map-bg-light-yellow {
    background-color: #FFD255;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .visit-map-widget {
        padding: 2.5rem 1.25rem;
    }

    .visit-map-content {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .visit-plan-footer {
        flex-direction: column;
        gap: 0;
    }
}
