/* Styles specific to the latest earthquakes page */

/* Table styles */
.earthquake-table th {
    font-weight: 600;
}

.earthquake-table tr {
    transition: background-color 0.2s;
}

/* Map in modal */
#modalMap {
    width: 100%;
    height: 300px;
    border-radius: 0.25rem;
}

/* Style for view details button */
.view-earthquake-detail {
    transition: all 0.2s;
}

.view-earthquake-detail:hover {
    background-color: #0d6efd;
    color: white;
}

/* Make magnitude show up better in rows */
.earthquake-table .magnitude-badge {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

/* Earthquake marker styles */
.earthquake-marker {
    background: transparent;
}

.marker-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-weight: bold;
    font-size: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
}

.marker-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0.7;
    z-index: -1;
}

.marker-icon.danger {
    border-color: #dc3545;
    color: #dc3545;
}

.marker-icon.danger::before {
    border-color: #dc3545;
}

.marker-icon.warning {
    border-color: #ffc107;
    color: #ffc107;
}

.marker-icon.warning::before {
    border-color: #ffc107;
}

.marker-icon.info {
    border-color: #0d6efd;
    color: #0d6efd;
}

.marker-icon.info::before {
    border-color: #0d6efd;
}

/* Hover effect */
.marker-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Large magnitude badge for modal */
.magnitude-badge-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
} 