/* create custom diamon icon style */
.custom-diamond-icon {
    background: none;
    opacity: 4;
}

/* create page title style */
#page-title {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 20px 30px rgba(0,0,0,0.2);
    z-index: 5000;    /* make sure this is above the map and description-panel */
}

#description_toggle {
    position: absolute;
    top: 11px;
    left: 15%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    z-index: 5000;    
    cursor: pointer;  
}

/* description panel styling */
#description-panel {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 15px !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 350px;
}

#description-panel h1 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#description-panel .description-content {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

#description-panel.minimized .description-content {
    display: none;
}

#description-panel .minimize-btn {
    font-size: 12px;
    color: #999;
    cursor: pointer;
    margin-left: 10px;
}

.desc-section.minimized .description-content { display: none; }

/* style for the council selector dropdown container */
.councilSelector {
    background-color: white; 
    padding: 10px;           
    border: 1px solid #ccc;  
    border-radius: 4px;      
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    display: inline-block;   
}
        
#attendance-stats {
    position: fixed;
    padding-right: 44px;
    bottom: 20px;
    left: 20px;
    background: white;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 15px;
    max-width: 300px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    cursor: pointer;
    font-family: Times, sans-serif;
}

#attendance-stats h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #222;
    user-select: none;
}

#attendance-stats.collapsed {
    padding: 10px 15px;
}

#attendance-stats.collapsed .toggle-indicator {
    transform: rotate(180deg);
    color: #333
}

#attendance-stats.collapsed .stats-content {
    display: none;
}

.stats-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.stat-label {
    font-weight: bold;
}

.stat-value {
    color: #0066cc;
    font-weight: bold;
}

.toggle-indicator {
    float: right;
    font-size: 12px;
    color: #999;
}

