@font-face {
    font-family: 'Thuast';
    src: url('fonts/Thuast.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #1a1a1a;
    color: #f8f9fa;
    font-family: 'Arial', sans-serif;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card.border-warning {
    border-color: #ffc107;
}

.card.border-primary {
    border-color: #007bff;
}

.card.border-success {
    border-color: #28a745;
}

.card-title {
    font-weight: bold;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.corner-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100px;
    height: 100px;
    border-radius: 5px;
}

.form-control {
    background-color: #2c2c2c;
    color: #f8f9fa;
    border-color: #444;
}

.form-control:focus {
    background-color: #2c2c2c;
    color: #f8f9fa;
    border-color: #007bff;
    box-shadow: none;
}

.text-muted {
    color: #6c757d !important;
}

.logo {
    width: 60px;
    height: 60px;
    margin-left: 20px;
}

#earthquake-data {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#earthquake-data table {
    margin: 0 auto;
    border-collapse: collapse;
    width: auto;
    background: transparent;
}
#earthquake-data th, #earthquake-data td {
    padding: 8px 16px;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

/* Rounded dropdown menu style */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #2d2d2d;
    border: 1px solid #facc15;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    min-width: 220px;
    z-index: 1000;
    border-radius: 14px;
    margin-top: 4px;
    pointer-events: auto;
}

.dropdown.show {
    display: block;
}

.dropdown li {
    list-style: none;
}

.dropdown .nav-link {
    display: block;
    padding: 10px 18px;
    color: #ffd700;
    text-decoration: none;
    border-bottom: 1px solid #23272f;
    transition: background 0.2s, color 0.2s;
    border-radius: 10px;
}

.dropdown .nav-link:hover {
    background: #181c23;
    color: #fff;
}

.showcase-block {
    background: #bfdbfe; /* Tailwind blue-200 */
    color: #222 !important;
}
.showcase-block .btn-primary {
    background: #1e90ff;
    color: #fff;
}

@media (max-width: 600px) {
    .dropdown {
        width: 100vw;
        min-width: unset;
        left: 0;
        right: 0;
        top: 100%;
        position: absolute;
        max-height: 60vh;
        overflow-y: auto;
        font-size: 18px;
        z-index: 1000;
    }
    .dropdown li {
        padding: 10px 0;
    }
    .dropdown img {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        vertical-align: middle;
    }
    .menu-button {
        font-size: 20px;
        padding: 12px 20px;
    }
}