/* Google Maps Info Window Custom Styling */
/* This file provides consistent styling for all Google Maps InfoWindows across the application */

/* Custom Info Window Styling */
.college-info-window {
    max-width: 320px;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: auto !important;
    height: auto !important;
}

.college-info-window .iw-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    padding: 10px 16px 8px;
    position: relative;
}

.college-info-window .iw-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.college-info-window .college-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 25px 0 0;
    line-height: 1.2;
}

.college-info-window .college-title a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.college-info-window .college-title a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.college-info-window .iw-close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    font-size: 16px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1000;
    line-height: 1;
}

.college-info-window .iw-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.college-info-window .college-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin: 2px 0 0;
    font-weight: 500;
}

.college-info-window .iw-body {
    padding: 10px 12px;
}

.college-info-window .location-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 13px;
}

.college-info-window .location-info i {
    color: #0d6efd;
    width: 14px;
}

.college-info-window .conference-badge {
    margin-bottom: 8px;
}

.college-info-window .conference-badge .badge {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 16px;
}

.college-info-window .basketball-programs {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.college-info-window .basketball-programs .badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
}

.college-info-window .metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.college-info-window .metric {
    text-align: center;
}

.college-info-window .metric-value {
    font-size: 15px;
    font-weight: 700;
    color: #0d6efd;
    line-height: 1;
    margin-bottom: 2px;
}

.college-info-window .metric-label {
    font-size: 9px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.college-info-window .compact-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 12px;
    color: #495057;
}

.college-info-window .compact-info i {
    color: #0d6efd;
    width: 12px;
    font-size: 11px;
}

.college-info-window .details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.college-info-window .details-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.3;
}

.college-info-window .details-list i {
    color: #0d6efd;
    width: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.college-info-window .feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.college-info-window .feature-badges .badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
}

.college-info-window .cta-button {
    width: 100%;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border: none;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

.college-info-window .cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    color: white;
    text-decoration: none;
}

/* Google Maps InfoWindow Container Overrides */
/* These styles override Google Maps default InfoWindow styling for consistent appearance */

.gm-style .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    background: transparent !important;
    max-width: 450px !important;
    max-height: none !important;
}

.gm-style .gm-style-iw-d {
    overflow: visible !important;
    max-width: none !important;
    max-height: none !important;
    padding-bottom: 0 !important;
}

.gm-style .gm-style-iw-t::after {
    display: none !important;
}

.gm-style .gm-ui-hover-effect {
    display: none !important;
}

.gm-style-iw button {
    display: none !important;
}

.gm-style-iw-chr {
    display: none !important;
}

.gm-style .gm-style-iw {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
}

.gm-style .gm-style-iw-tc {
    filter: none !important;
}
