/* Styles for the geocoder row */
.geocoder-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
  }

.mapboxgl-ctrl-geocoder input[type='text'] {
margin-left: 25px !important;
  }

  .geocoder-row.disabled {
    opacity: 0.5; /* Make it semi-transparent */
    pointer-events: none; /* Prevent interaction */
  }
  
  /* Styles for the geocoder container */
  .geocoder-container {
    display: grid;
    grid-template-columns: auto min-content 1fr;
    align-items: center;
    width: 100%;
  }
  
  /* Styles for the geocoder input field (auto width) */
  .geocoder {
    grid-column: 1 / 2;
    flex: 1;
    position: relative;
  }
  
  .geocoder input {
    width: 100%;
    padding-right: 30px; /* Adjust this value as needed */
    box-sizing: border-box;
  }
  
  /* Styles for the remove button (small column) */
  .remove-geocoder-btn {
    grid-column: 2 / 3;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: 10px;
  }
  
  /* Flex space to fill the rest */
  .geocoder-flex-space {
    grid-column: 3 / 4;
  }
  





body {
    font-family: 'Red Hat Display', sans-serif !important;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}


h1 {
    background-color: #18197c;
    color: #ffffff;
    padding: 15px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow the items to wrap if necessary */
}

.container {
    padding: 5px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    border-radius: 4px;
}
.spinner {
    border: 8px solid #f3f3f3;       /* Light grey border */
    border-top: 8px solid #18197c;   /* Blue border at the top */
    border-radius: 50%;              /* Round shape */
    width: 60px;                     /* Size of the spinner */
    height: 60px;                    /* Size of the spinner */
    animation: spin 1s linear infinite; /* Spinner animation */
    margin: 0 auto;                  /* Center the spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#pdfViewer {
    display: none;                   /* Initially hide the PDF viewer */
}

#sendPDF {
    display: none;                   /* Initially hide the PDF send Button */
}

#surveyContainer {
    background-color: #ffffff;
    padding: 0px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#actionsDiv {
    display: flex;            /* Enable flexbox layout */
    flex-direction: column;   /* Stack buttons vertically */
    justify-content: center;  /* Center buttons vertically */
    align-items: center;      /* Center buttons horizontally */
    text-align: center;       /* Center text inside the div */
    height: 100%;             /* Adjust based on your design */
}
#actionsDiv p {
    margin: 10px 0;           /* Add spacing between paragraphs */
}

#actionsDiv button {
    background-color: white;          /* Initial background color */
    color: #18197c;                   /* Initial text color */
    border: 2px solid #18197c;        /* Initial border color */
    padding: 10px 20px;               /* Padding around the button */
    font-size: 16px;                  /* Font size */
    cursor: pointer;                  /* Change cursor on hover */
    transition: all 0.3s ease;        /* Smooth transition for hover effect */
}

#actionsDiv button:hover {
    background-color: #18197c;        /* Change to blue background on hover */
    color: white;                     /* Change text color to white on hover */
    border-color: #18197c;            /* Keep the border color consistent */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow items to wrap on small screens */
}

.navbar select {
    background-color: #ffa664;
    color: #18197c;
    border: none;
    border-radius: 4px;
    padding: 10px;
}

.title {
    text-decoration: none;
    color: #ffffff;
}

.navbar label[for="languageSwitcher"] {
    font-size: 16px; /* Adjust the size as needed */
    margin-right: 8px; /* Space between label and select field */
}

#viewerContainer {
    height: 100vh;
    width: 100%;
    overflow: auto;
    position: absolute;
    background-color: gray;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem; /* Reduce font size on smaller screens */
        padding: 10px;
    }

    .navbar label[for="languageSwitcher"] {
        font-size: 1rem; /* Adjust label font size */
    }

    .navbar select {
        padding: 8px; /* Reduce padding to save space */
    }
}
