body {
    font-family: "Segoe UI", sans-serif;
    background-color: #f4f6f9;
}

.navbar {
    background-color: #1e5631;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 10px 15px;
}

.navbar-nav .nav-link:hover {
    background-color: #14532d;
    border-radius: 5px;
}

.dropdown-menu {
    background-color: #1e5631;
}

.dropdown-menu .dropdown-item {
    color: white;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #14532d;
}

.header {
    background-color: #1e5631;
    padding: 10px;
    text-align: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.breaking-news {
    background-color: #28a745;
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    margin-top: 10px;
}

.main-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 10px;
    border-radius: 10px;
}

/* .pemerintah,
.deskripsi,
.peta {
    margin-top: 10px;
} */

.stat-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.stat-box h5 {
    margin: 0;
    font-weight: bold;
    color: #2c3e50;
}

.footer {
    background-color: #1e5631;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}

.profile-img {
    width: 100%;
    max-width: 100px;
    height: auto;
    border-radius: 8px;
}

.icon {
    font-size: 24px;
    color: #28a745;
    margin-bottom: 10px;
}

.carousel-inner img {
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.social-stat-mini {
    background: #fff;
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    font-size: 12px;
    margin: 6px;
}

.social-stat-mini i {
    font-size: 16px;
    color: #1e5631;
    margin-bottom: 4px;
}

.social-number-mini {
    font-weight: bold;
    font-size: 13px;
}

.social-label-mini {
    font-size: 11px;
    color: #666;
}

.leader-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: scale(1.02);
}

/* .leader-img {
    width: 100%;
    height: 200px;
    border-radius: 4px;
} */

.leader-title {
    font-weight: 600;
    font-size: 10px;
    margin-top: 8px;
}

.leader-name {
    font-size: 10px;
    color: #333;
}

.leader-link {
    font-size: 13px;
    color: #1e5631;
    text-decoration: none;
}

.leader-link:hover {
    text-decoration: underline;
}

/* Tambahkan di bagian style */
.img-thumbnail {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.img-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rounded-shadow {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Tambahkan di CSS */
.icon-small {
    font-size: 18px;
    color: #28a745;
}

.stat-box-sm {
    background-color: #fff;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
}

.stat-number {
    font-size: 1rem;
    font-weight: 600;
    margin: 4px 0;
    color: #2c3e50;
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.2;
}

.fa-lg {
    font-size: 1.25em;
}

.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: #25d366;
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
}

.chat-container {
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-float {
    position: static;
    margin-bottom: 15px;
}

/* CSS Chat Container */
.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    background-color: #1e5631;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-box {
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: none;
}

.chat-header {
    background-color: #1e5631;
    color: white;
    padding: 12px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    height: 250px;
    overflow-y: auto;
    padding: 10px;
    background: #f8f9fa;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
    background: white;
}

.chat-toggle:hover {
    background: #14532d;
    transform: rotate(-15deg) scale(1.1);
}

.chat-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    margin-right: 8px;
}

.btn-send {
    background: #1e5631;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Message Styling */
.chat-message {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.message-content {
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.9em;
}

.bot-message .message-content {
    background: #e3f0ff;
    align-self: flex-start;
}

.user-message .message-content {
    background: #1e5631;
    color: white;
    align-self: flex-end;
}

.message-time {
    font-size: 0.7em;
    color: #666;
    margin-top: 4px;
}

.damplot-card {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.status-card {
    padding: 15px;
    border-left: 4px solid #1e5631;
}

.damplot-metric-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.damplot-metric-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.damplot-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    margin-top: 4px;
}

.progress {
    background-color: #f0f4f8;
    border-radius: 4px;
}
