/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Fullscreen Height Setup */
html, body {
    height: 100%; /* Ensure the body takes the full viewport height */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
    background-color: #ffffff;
}
.form-container{
    line-height: 1.6;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    background-color: #fff;
    height: 100%;
    margin-bottom: 40px;
}
.listingForm{
    overflow-y: auto;
    height: 100%;
    padding-bottom: 150px;
}

.tagline {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Heading styles */
h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

/* Section styles */
.section {
    max-width: 100;
}

.section-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 20px;
}
/* Collapsible Section */
.collapsible-section {
    margin-bottom: 1rem;
}

/* Collapsible Header */
.collapsible-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f9f9f9;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.collapsible-header:hover {
    background-color: #eef7ff;
}

/* Collapsible Title */
.collapsible-title {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

/* Toggle Icon */
.toggle-icon {
    font-size: 1.2rem;
    color: #666;
    transition: transform 0.3s ease;
}

/* Collapsible Content */
.collapsible-content {
    padding: 1rem;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.collapsible-content.open {
    max-height: 500px; /* Adjust based on content size */
    opacity: 1;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.required::after {
    content: '*';
    color: #ff0000;
    margin-left: 5px;
}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #000;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.char-count {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: right;
}

/* Button styles */
.button-container {
    text-align: center;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #000;
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
}

/* Location section styles */
.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.map-container2 {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}

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

.location-fields {
    width: 100%;
}

/* Style for the uploaded files container */
.uploaded-files {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 10px;
}
.upload-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Hover effect to indicate interactivity */
.upload-container:hover {
    border-color: #2c84ba; /* A calming blue */
    background-color: #eef7ff; /* Lighter shade of blue */
}

/* Active state when dragging files over the container */
.upload-container.dragging-over {
    border-color: #2c84ba;
    background-color: #d1ecf9; /* Slightly darker blue */
}

/* Style for each uploaded file item */
.file-item {
width: 100px; /* Adjust the width as needed */
height: 100px; /* Adjust the height as needed */
overflow: hidden;
border-radius: 8px;
border: 1px solid #ddd;
position: relative;
}

/* Style for the uploaded image */
.file-item img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image fits nicely within the container */
}

/* Style for the remove file button */
.remove-file {
position: absolute;
top: 5px;
right: 5px;
background: rgba(0, 0, 0, 0.7);
color: white;
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
cursor: pointer;
}

.remove-file:hover {
background: rgba(0, 0, 0, 0.9);
}
@media (max-width : 768px) {
    .location-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
    }
    .map-container2{
        display: flex;
    }
    
}
