html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

#map {
    height: 100%;
}

.info-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 5px;
    padding: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1;
    min-width: 250px;
}

.info-overlay h3 {
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.info-overlay div {
    margin-bottom: 5px;
    font-size: 14px;
}

#imagery-date {
    color: #2c5282;
    font-weight: 500;
}

/* Search Box Styles */
.map-search-box {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 500px;
    max-width: 90%;
}

.map-search-box input {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    box-sizing: border-box;
}

.map-search-box input:focus {
    outline: none;
    border-color: #4d90fe;
    box-shadow: 0 2px 6px rgba(77, 144, 254, 0.5);
}

.map-search-box input::placeholder {
    color: #999;
}

.map-search-box input.error {
    border-color: #ff6b6b;
    background-color: #fff0f0;
}

/* Button Styles - enhanced to make disabled state more clear */
.action-btn {
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #4285F4;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover:not(:disabled) {
    background-color: #3367D6;
    transform: translateY(-1px);
}

.action-btn:active:not(:disabled) {
    background-color: #2A56C6;
}

.action-btn:disabled {
    background-color: #cccccc;
    color: #999999;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

/* History selector styles */
#history-container {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px;
    background-color: rgba(240, 240, 240, 0.7);
    border-radius: 4px;
    font-size: 13px;
}

#history-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #444;
}

.history-select {
    width: 100%;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: white;
    font-size: 13px;
}

.history-select:focus {
    outline: none;
    border-color: #4285F4;
    box-shadow: 0 0 3px rgba(66, 133, 244, 0.5);
}

