body {
    font-family: 'Inter', sans-serif;
    background-color: #f1f5f9; /* bg-slate-100 */
}

/* Custom Colors */
.bg-maroon { background-color: #8B0000 !important; }
.text-gold { color: #FFD700 !important; }
.text-maroon { color: #8B0000 !important; }

/* Card styles */
.card {
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-xl */
    border: none;
}

/* Navbar styles */
.navbar-kamus {
    background-color: #8B0000 !important;
}

.navbar-kamus .navbar-brand,
.navbar-kamus .nav-link,
.navbar-kamus .navbar-text {
    color: #FFD700 !important;
}

.navbar-kamus .nav-link:hover,
.navbar-kamus .navbar-brand:hover {
    color: #FFFFFF !important;
}

.navbar-brand img {
    height: 40px;
}

.navbar-brand span {
    line-height: 1.1;
    color: #FFD700;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    /* Styling for a more modern hamburger icon */
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border-radius: 0.25rem;
    transition: box-shadow .15s ease-in-out;
}

.navbar-toggler-icon {
    filter: invert(100%);
}

/* Mobile menu styles */
@media (max-width: 991.98px) { /* lg breakpoint */
    .navbar-collapse {
        text-align: left;
    }
    .navbar-nav {
        flex-direction: column;
    }
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    .navbar-nav.me-auto {
        margin-left: 0 !important;
    }
    .d-flex.align-items-center.ms-auto {
        margin-right: auto !important;
        margin-left: 0 !important;
        flex-direction: column;
        align-items: flex-start !important;
    }
    .d-flex.align-items-center.ms-auto .navbar-text {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
}

/* Search Form styles */
.search-input-modern {
    max-width: auto;
    margin: auto;
}

.search-input-modern .form-control {
    border-radius: 50px;
    padding-left: 1.5rem; /* Padding dikurangi */
    height: auto;
    border-color: #e2e8f0;
}

.search-input-modern .form-control:focus {
    border-color: #8B0000;
    box-shadow: 0 0 0 0.25rem rgba(139, 0, 0, 0.25);
}

.form-input .form-control {
    border-color: #e2e8f0;
}

.form-input .form-control:focus {
    border-color: #8B0000;
    box-shadow: 0 0 0 0.25rem rgba(139, 0, 0, 0.25);
}

.form-input .form-select:focus {
    border-color: #8B0000;
    box-shadow: 0 0 0 0.25rem rgba(139, 0, 0, 0.25);
}

.search-input-modern .btn-search {
    border-radius: 50px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    background-color: #8B0000;
    border-color: #8B0000;
}

.btn-kamus {
    /* padding: 0.875rem 2rem; */
    font-weight: 600;
    background-color: #8B0000;
    border-color: #8B0000;
}

.btn-kamus:hover {
    background-color: #b80707;
    border-color: #8B0000;
}
    
/* Word Entry Card */
.word-card {
    background-color: #f8fafc; /* bg-slate-50 */
    border-radius: 1rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); /* shadow-inner */
    border: 1px solid #e2e8f0;
}

.word-card h3 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
}

.word-card-actions a {
    color: #94a3b8; /* text-slate-400 */
    transition: color 0.15s ease-in-out;
}

.word-card-actions a:hover {
    color: #8B0000;
}

.etimologi-box {
    border-left: 4px solid #8B0000;
    background-color: #fee2e2; /* bg-red-50 */
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Audio Player */
.audio-player-container {
    background-color: #fff;
    border-radius: 2rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.audio-player-container .btn-play-pause {
    background-color: transparent;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px; /* rounded-full */
    color: #8B0000;
    transition: background-color 0.15s ease-in-out;
}

.audio-player-container .btn-play-pause:hover {
    background-color: #fef2f2; /* hover:bg-red-50 */
}

.audio-player-container .audio-time-display {
    color: #64748b; /* text-slate-500 */
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
}

.audio-player-container input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #cbd5e1; /* bg-slate-300 */
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.audio-player-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #8B0000;
    border-radius: 50%;
}

.audio-player-container .text-muted-icon {
    color: #94a3b8; /* text-slate-400 */
}

/* Custom styles for the new sections */
.info-card {
    border-radius: 1rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-card .icon {
    font-size: 1.5rem;
}

.info-card.announcement .icon {
    color: #eab308; /* yellow-500 */
}

.info-card.announcement p {
    color: #475569; /* slate-600 */
}

.info-card.warning .icon {
    color: #dc2626; /* red-600 */
}

.info-card.warning h4 {
    color: #475569;
}

.info-card a {
    color: #8B0000;
    text-decoration: none;
}
.info-card a:hover {
    text-decoration: underline;
}

.table-kamus {
    --bs-table-bg: #8B0000; /* Warna background header */
    --bs-table-color: #fff; /* Warna teks putih */
    --bs-table-border-color: #7a0000; /* Warna border */
    color: var(--bs-table-color) !important;
    border-color: var(--bs-table-border-color) !important;
    background-color: var(--bs-table-bg) !important;
}

.table-kamus th {
    vertical-align: middle !important;
    text-align: center;
    font-weight: 600;
}
