/* Loader */
.api-select-background {
    background: #002664;
}

.tool-tip-color-theme {
    color: #002664;
}

.display-flex {
    display: flex;
}

.border-bottom-0 {
    border-bottom: 0 !important;
}

.flex-2 {
    flex: 2 !important;
}

.flex-6 {
    flex: 6 !important;
}

.text-white {
    color: white;
}

.nsw-loader-custom {
    display: none;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.api-select-align-content-center {
    align-content: center;
}

/* Sample Forms */
.position-relative {
    position: relative;
}

.sample-forms-container, .response-container {
    border: 2px solid #002664;
    padding: 1rem;
    padding-top: 0px;
    margin-top: 1rem;
}

.m-top-0 {
    margin-top: 0px;
}

.m-0 {
    margin: 0px !important;
}

.m-bottom-0 {
    margin-bottom: 0px !important;
}

.disabled-text {
    color: #f2f2f2;
}

.embedded-components-container {
    border: 2px solid #002664;
    margin: 0px;
}

.embedded-components-button-container {
    display: flex;
    align-items: center;
}

.first-row-option-container {
    margin-top: 0px !important;
}

.option-container {
    border: 1px #f2f2f2 solid;
    padding: 1rem;
    margin-top: 1rem;
}

.option-container header {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.option-container .checkbox-group {
    margin: 5px 0;
}

.checkbox-group label {
    margin-left: 5px;
}

.radio-group {
    margin: 5px 0;
}

.radio-group label {
    margin-left: 5px;
}

.radio-group input[type="radio"] {
    accent-color: #005ea5; /* Adjust the color to match your design system */
}

/* states */
.states {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 10px;
}

.state {
    display: flex;
    align-items: center;
}

.state label {
    margin-left: 5px;
}

/* Maximum results */
.maxResults .range-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.maxResults .range-wrapper input[type="range"] {
    flex-grow: 1;
    margin: 0 10px;
}

.maxResults output {
    display: block;
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
}

/* Exclude aliases */
.excludeAliases input[type="checkbox"] {
    margin-right: 5px;
}

/* coordinate reference system */
.input-output-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.input-section, .output-section {
    width: 48%;
}

.input-section header, .output-section header {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Address fields */
.address-form {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.address-row, .coordinate-row {
    margin-bottom: 1rem;
}

.address-row, .details-row, .coordinate-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.details-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.address-form .form-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-right: 10px;
}

.address-form .form-field:last-child {
    margin-right: 0;
}

.address-form input, .coordinate-row input, .embedded-components input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.address-form label, .embedded-components label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Coordinates */
.coordinate-row label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Response area */
.response-textarea {
    width: 100% !important;
    height: 400px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    overflow-y: auto;
}

/* Suggestion Box */
.suggestion-box {
    position: absolute;
    border: 1px solid #ccc;
    background: white;
    width: calc(100% - 2px);
    top: 65px;
    overflow-y: auto;
    z-index: 1000;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.cadastral-parcel-plan-type {
    height: 35px;
    border: #ccc 1px solid;
    font-size: 0.8rem;
    padding: 0 1rem;
    font-weight: 600;
}

select#cadastral-parcel-input-plantype option {
    font-size: 0.8rem;
}

.cadastral-parcel-option-container {
    padding-left: 5px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .details-row {
        flex-direction: column;
    }

    .form-field {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .form-field:last-child {
        margin-bottom: 0;
    }
}

