/* styles.css */

/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    padding: 20px;
}

/* Table styling */
table {
    border-collapse: collapse;
    background-color: #fff;
    margin-bottom: 20px;
    width: 100%;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
    width: 100%;
}

th {
    background-color: #f2f2f2;
}

/* Customize specific columns */
th.name, td.name{
    max-width: 250px; /* Adjust maximum width for name column */
    min-width: 250px;
}

th.address, td.address {
    max-width: 500px; /* Adjust maximum width for address column */
    min-width: 400px;
}

th.website, td.website {
    max-width: 300px; /* Adjust maximum width for website column */
    min-width: 300px;
}

th.mobile, td.mobile {
    max-width: 150px; /* Adjust maximum width for mobile column */
    min-width: 150px;
}





#loader {
    display: none;
    font-size: x-large;
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

#loader1 {
    display: none;
    font-size: x-large;
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


#dataDisplay {
    display: none;
    margin-top: 20px;
}

#mapForm {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    font-size: 16px;
}

#map {
    margin-bottom: 20px;
}


/*.btn {
    color: ghostwhite;
}*/


input[type=checkbox] {
        transform: scale(1.5); /* Adjust scale factor as needed */
        margin-left: 3px; /* Optional: Add some spacing */
        margin-right :3px;
    }

.form-check-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}


.form-check-input {
    margin-top: 0rem;
}


.form-group {
    border: 1px solid #ddd; /* Light gray border */
    border-radius: 5px; /* Optional: rounded corners */
    padding: 1rem; /* Add padding inside the border */
    margin-bottom: 1.5rem; /* Adjust as needed for spacing */
}

.row {
    margin-bottom: 1rem; /* Adjust to control space between rows */
}

.or-text {
    margin: 0 15px; /* Adjust spacing as needed */
    font-weight: bold; /* Optional: to make the "or" more prominent */
    margin-left: 70px;
}

.input-group {
    width: 100%;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.text-center {
    text-align: center; /* Center align button horizontally */
}

/* Ensure the button looks consistent and aligned */
.btn-outline-primary {
    margin-top: 1rem; /* Add margin to the top of the button for spacing */
    padding: 0.5rem 1rem; /* Adjust padding for a better button size */
}

.mt-3 {
    margin-top: 1rem !important; /* Ensure the top margin is applied to the button row */
}


.bordered-section {
    border: 1px solid #ddd; /* Add a border around the section */
    padding: 10px; /* Add some padding */
    border-radius: 5px; /* Optional: rounded corners */
}



/* Add to your existing CSS or within a <style> tag in your HTML */
.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.remove-poi {
    border: none;
    background: transparent;
    color: #dc3545; /* Red color for the X icon */
    font-size: 1rem; /* Adjust size of the X icon */
    cursor: pointer; /* Pointer cursor on hover */
    padding: 0; /* Remove default padding */
    margin-left: 0.5rem; /* Space between the text and X icon */
}

.remove-poi i {
    margin-left: 0; /* Ensure no additional space around the icon */
}

.remove-poi:hover {
    color: #c82333; /* Darker red color on hover */
    text-decoration: none; /* Remove underline on hover */
}

.border-red {
    border: 2px solid red;
}

/* Style for invalid checkboxes */
input.form-check-input.border-red-checkbox {
    outline: 2px solid red; /* Adjust as needed */
}

/* Reset border color when checkbox is checked */
input.form-check-input:checked.border-red-checkbox {
    outline: none; /* Remove the red border when checked */
}

.single-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4%;
    justify-content: center;
}

.single-row .form-group {
    width: 48%;
}
