/* Custom Styles */
.small-font {
    font-size: 0.875rem;  /* Smaller font size (around 14px) */
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 0.85rem; /* Reduces global font size */
}

/* Reduce padding and margin */
.card-body, .card-header, .form-label, .table {
    padding: 0.5rem; /* Adjust padding inside cards and tables */
    margin: 0.5rem;  /* Adjust margins to reduce spacing */
}

.card-header {
    background-color: #0079C0;
    border: none;
    color: #ffffff;
}


/* Make the table more compact */
table {
    font-size: 0.8rem;  /* Smaller text in table */
}

/* Reduce form controls size */
.form-control, .form-select {
    padding: 0.25rem 0.5rem; /* Reduce padding inside form controls */
    font-size: 0.85rem;       /* Smaller text inside form controls */
}

/* Adjust button size */
.btn {
    padding: 0.25rem 0.5rem; /* Reduce padding inside buttons */
    font-size: 0.85rem;
}

#map {
    height: 400px;
    width: 100%;
}

/* Reduce card dimensions */
.card {
    font-size: 0.85rem;
}

.no-border {
    border: none;
}

footer {
    margin-top: 50px;
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
}
/* Sidebar full-height styling */
#sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    padding-top: 20px;
}

/* Styling for the nested sub-menus */
#sidebar .nav-link {
    font-size: 1rem;
}

#sidebar .nav-link.active {
    background-color: #007bff;  /* Highlight active link */
    color: white;
}

#sidebar .nav .nav-link {
    font-size: 0.9rem;
    padding-left: 20px; /* Increase padding for nested items */
}
html, body {
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

.wrapper {
    display: flex;
    width: auto;
    justify-content: center; /* Center content horizontally */
    padding-top: 20px; /* Add some top padding for spacing */
}

.main-content {
    display: flex;
    justify-content: center;
    width: auto;
}

.search-container {
    max-width: 500px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.form-label {
    font-size: 18px;
    margin-bottom: 10px;
    color: #777;
}

.input-group .form-control {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-right: none;
}

.input-group .btn {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #0079C0;
    border: none;
    color: white;
}

.input-group .btn:hover {
    background-color: #0079C0;
}

h2 {
    color: #0079C0;
    font-weight: bold;
}


/* Custom CSS for WFS colour scheme */

.wfs-btn {
    background-color: #0079C0;  /* Original base color */
    color: white;               /* Text color */
    border: none;               /* Optional: remove borders */
    padding: 0.25rem 0.5rem;       /* Padding */
    font-size: 0.85rem;            /* Font size */
    border-radius: 0.25rem;     /* Rounded corners */
}

.wfs-btn:hover {
    background-color: #006BA8;  /* Darker shade for hover */
}

.wfs-btn:active {
    background-color: #005C8F;  /* Darker shade for active state */
}

.wfs-btn:focus {
    outline: none;              /* Remove default focus outline */
    box-shadow: 0 0 0 0.2rem rgba(0, 121, 192, 0.5); /* Custom focus shadow */
}

.text-bg-wfs {
  background-color: #0079C0;  /* Original base color */
  color: white;               /* Text color */
  padding: 0.25rem 0.5rem;    /* Padding for text background */
  border-radius: 0.25rem;     /* Rounded corners (optional) */
}
