/* General body text */
body {
    font-family: Arial, sans-serif;
    font-size: 16px;  /* Set the base font size for the body text */
    background-color: #e6f0fa;
    margin: 0;
    padding: 20px;
}

/* Headings */
h1 {
    font-size: 2.5em;  /* Main heading (e.g., title) */
    color: #003366;
}

h2 {
    font-size: 2em;    /* Subheading (e.g., section title) */
    color: #003366;
    margin-top: 10px;
}

h3 {
    font-size: 1.75em;  /* Optional if you use h3 tags */
    color: #003366;
}

/* Paragraph text */
p {
    font-size: 1em;    /* General paragraph text size */
    line-height: 1.6;  /* Adjust line height for readability */
    white-space: normal;  /* Ensure text wraps normally */
    word-wrap: break-word;  /* Ensure long words don't cause clipping */
}

/* Bold and upsized text */
.bold-upsized {
    font-size: 2em;  /* Adjust bold upsized text */
    font-weight: bold;
}

/* Container layout */
.container {
    display: flex;
    gap: 20px;
}

/* Form and data container styles */
.form-container, .data-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-container {
    flex: 1;
}

.data-container {
    flex: 2;
}

/* Headings */
.data-container h2, .form-container h2 {
    margin-top: 0;
}

/* Data items */
.data-item {
    font-size: 1.2em;
    margin: 10px 0;
}

.bold-normal {
    font-weight: bold;
    font-size: 1.2em;
}

.bold-upsized {
    font-weight: bold;
    font-size: 2.5em;
}

/* Remove default horizontal rule display */
.data-item hr {
    display: none;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.nav-menu button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.nav-menu button:hover {
    background-color: #0056b3;
}


.nav-menu a {
    background-color: #007bff; /* Blue background like the button */
    color: white;              /* White text */
    border: none;              /* No border */
    padding: 10px 20px;        /* Same padding as buttons */
    border-radius: 5px;        /* Rounded corners */
    cursor: pointer;           /* Pointer on hover */
    text-decoration: none;     /* Remove underline from the links */
    display: inline-block;     /* Display as block-level elements */
}

/* Hover effect */
.nav-menu a:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Dropdown styling */
.select-filetype {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.select-filetype select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Upload button styling */
.upload-button {
    font-size: 1.5em;
    padding: 15px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}

.upload-button:hover {
    background-color: #0056b3;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #007bff;
}

th {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-align: left;
}

td {
    padding: 10px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #e0f0ff;
}

/* Infographic styling */
.infographic img {
    max-width: 70%;  /* Adjust the percentage or set an exact width like 400px */
    height: auto;    /* Maintain aspect ratio */
    display: block;  /* Make it a block element */
    margin: 20px auto;  /* Center the image and add vertical spacing */
    margin-bottom: 100px; /* Reduce the margin below the infographic */
}


/* Content container styling */

.main-container {
    display: flex;
    justify-content: space-between; /* Keeps the two containers apart */
    align-items: flex-start; /* Align both containers at the top */
}


/* Modified content container styling */
.content-container-about {
    width: 70%;  /* Take 70% of the available space */
    background-color: #fff; /* Set the background to white */
    padding: 20px; /* Add padding inside the container */
    margin: 20px 0 20px 20px; /* Align left with margin-left, add vertical margins */
    max-width: 1200px; /* Limit the container width to 1200px */
    border-radius: 8px; /* Round the corners of the container */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for a floating effect */
    overflow: hidden; /* Prevent overflow in case of large content */
    text-align: justify;
    position: relative; /* Allows absolute elements inside */
}


.content-container {
    width: 100%;  /* Take 70% of the available space */
    background-color: #fff; /* Set the background to white */
    padding: 20px; /* Add padding inside the container */
    margin: 20px 0 20px 20px; /* Align left with margin-left, add vertical margins */
    max-width: 1200px; /* Limit the container width to 1200px */
    border-radius: 8px; /* Round the corners of the container */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for a floating effect */
    overflow: hidden; /* Prevent overflow in case of large content */
    text-align: center;
    position: relative; /* Allows absolute elements inside */
}


.container .mapping-button a {
    display: inline-block;  /* Makes the link behave like a button */
    background-color: #007bff;  /* Blue background color */
    color: white;  /* White text */
    padding: 20px 30px;  /* Padding around the text */
    border-radius: 5px;  /* Rounded corners */
    text-decoration: none;  /* Removes underline */
    font-weight: bold;  /* Bold text */
    text-align: center;  /* Centers the text inside the button */
    margin-top: 15px;  /* Space above the button */
}

/* Content container styling for button */
.content-container .mapping-button a {
    display: inline-block;  /* Makes the link behave like a button */
    background-color: #007bff;  /* Blue background color */
    color: white;  /* White text */
    padding: 20px 30px;  /* Padding around the text */
    border-radius: 5px;  /* Rounded corners */
    text-decoration: none;  /* Removes underline */
    font-weight: bold;  /* Bold text */
    text-align: center;  /* Centers the text inside the button */
    margin-top: 15px;  /* Space above the button */
}

/* Hover effect for the button */
.content-container .mapping-button a:hover {
    background-color: #0056b3;  /* Darker blue when hovered */
}

/* Style for the back button */
.back-button {
    display: inline-block;
    background-color: #007bff;  /* Blue background */
    color: white;  /* White text */
    padding: 8px 12px;  /* Padding for the button */
    border-radius: 5px;  /* Rounded corners */
    text-decoration: none;  /* Remove underline */  
    margin-top: 20px;
    margin-bottom: 20px;  /* Space below the button */
}

.back-button:hover {
    background-color: #0056b3;  /* Darker blue on hover */
}

.hqladata-container {
    padding: 10px; /* Add padding inside the container */
    margin-bottom: 20px; /* Space between each set of data */
    border: 1px solid #007bff; /* Add a blue border */
    border-radius: 8px; /* Optional: round the corners */
    background-color: #f8f9fa; /* Optional: light background color */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: add subtle shadow */
}


.blue-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

/* Navbar links jadi button */
nav a, .navbar a {
  display: inline-block;
  padding: 10px 14px;
  margin-right: 8px;
  background: #0d6efd;
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

nav a:hover, .navbar a:hover {
  filter: brightness(0.92);
}
