.card-submenu {
    width: 100%;
    max-width: 400px; /* Sets a maximum width for a neat card */
    margin: 20px auto; /* Centers the card */
    background: #ffffff; /* Clean white background */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* Prevents overflow of child elements */
    padding: 20px; /* Adds padding inside the card */
    font-family: 'Arial', sans-serif; /* Modern sans-serif font */
}

.submenu-dasbor {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-dasbor li {
    padding: 15px;
    cursor: pointer;
    background: #f9fafc; /* Light gray background */
    border: 1px solid #e0e0e0; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    margin-bottom: 10px; /* Spacing between items */
    text-align: center;
    font-size: 1rem; /* Readable font size */
    color: #333; /* Dark text for better contrast */
    transition: all 0.3s ease; /* Smooth hover animation */
}

.submenu-dasbor li:hover {
    background: #012970; /* Primary color for hover */
    color: #ffffff; /* White text on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Hover shadow for depth */
    transform: translateY(-3px); /* Slight lift effect */
}

.submenu-dasbor li.active {
    background: #012970; /* Highlight active menu */
    color: #ffffff; /* White text */
    font-weight: bold; /* Emphasize active item */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Similar shadow */
}

.chart-container {
    min-height: 400px;
}

.titleChart {
    font-family: 'Merriweather', serif; /* Use a modern serif font */
    font-size: 2.5rem;
    color: #050f28; /* Matches your main website color */
    text-transform: uppercase; /* Makes it look more authoritative */
    letter-spacing: 1.5px; /* Adds spacing for readability */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    border-bottom: 2px solid #333333; /* Adds a sophisticated underline */
    display: inline-block; /* Keeps underline size proportional */
    padding-bottom: 0.5rem; /* Adds some spacing below the text */
    text-align: center; /* Centers the text */
    width: 100%; /* Ensures the element occupies the full width */
    margin: 0 auto; /* Centers it horizontally */
}

.api-endpoint {
    margin-top: 30px;
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.api-endpoint:hover {
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #012970;
}

.api-endpoint h4 {
    font-size: 1.5rem;
    color: #012970;
    font-weight: 600;
    margin-bottom: 15px;
}

.api-endpoint p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify; /* Justifies the text both left and right */
    text-justify: inter-word; /* Ensures better word spacing */
}

.api-endpoint code {
    background: #f3f3f3;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 1.1rem;
    color: #333;
    font-family: 'Courier New', Courier, monospace;
}

.api-endpoint pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    color: #333;
    overflow-x: auto;
    margin-top: 10px;
}

.api-endpoint button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #012970;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.api-endpoint button:hover {
    background-color: #023b88;
}

.api-endpoint button:focus {
    outline: none;
}

/* Custom Alert */
.no-data-alert-dasbor-desa {
    margin: 20px auto;
    max-width: 600px;
    background: linear-gradient(135deg, #ffecd2, #fcb69f); /* Subtle gradient */
    color: #333;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Elegant shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .alert-content {
    display: flex;
    align-items: center;
    gap: 15px; /* Spacing between icon and text */
  }
  
  .alert-icon {
    font-size: 24px;
    color: #ff6f61; /* Eye-catching but not harsh */
  }
  
  .alert-content p {
    margin: 0;
    font-size: 1rem; /* Modern font size */
    line-height: 1.5;
    color: #333;
    text-align: justify; /* Justifies text to both left and right */
  }
  
  .alert-content strong {
    color: #d9381e; /* Bold color for emphasis */
    font-weight: 600;
  }  