/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Container */
.post-ad-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}
/* Blue Navbar */
.blue-navbar {
    background-color: #183B4E; 
    padding: 10px 0;
}

.blue-navbar .container {
    display: flex;
    gap: 20px;
}

.blue-navbar .nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.blue-navbar .nav-link:hover {
    text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #666;
}
.dropdown-item.selected {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: bold;
}

.property-btn.active {
    border: 2px solid #007bff;
    background-color: #e3f2fd;
}

.property-btn {
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-btn.active .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Back Button */
.back-button-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #8B5A3C;
    border-radius: 4px;
    color: #8B5A3C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #8B5A3C;
    color: #fff;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.step {
    display: flex;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #9E9E9E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 2;
}

.step.active .step-circle {
    background-color: #8B5A3C;
}

.step-line {
    width: 200px;
    height: 3px;
    background-color: #9E9E9E;
    margin: 0 -1px;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* Offer Type Buttons */
.offer-type-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.offer-btn {
    padding: 12px 24px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-btn:hover {
    border-color: #0066B3;
}

.offer-btn.active {
    background-color: #0066B3;
    color: #fff;
    border-color: #0066B3;
}

/* Property Type Buttons */
.property-type-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.property-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.property-btn .icon {
    font-size: 24px;
    margin-bottom: 8px;
    background-color: #8B5A3C;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-btn:hover {
    border-color: #0066B3;
    box-shadow: 0 2px 8px rgba(0, 102, 179, 0.2);
}

.property-btn.active {
    border-color: #0066B3;
    background-color: #f0f7ff;
}

.property-btn.dropdown-btn .dropdown-arrow {
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 10px;
    color: #666;
}

/* Dropdown Menu */
.property-btn.dropdown-btn {
    overflow: visible;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    z-index: 1000;
    display: none;
}

.property-btn.dropdown-btn.active .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #0066B3;
}

.dropdown-item.selected {
    background-color: #f0f7ff;
    color: #0066B3;
    font-weight: 500;
}

/* Location Fields */
.location-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-group.full-width {
    width: 100%;
}

.field-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.field-group input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.field-group input:focus {
    outline: none;
    border-color: #0066B3;
}

.field-group input::placeholder {
    color: #999;
}

/* Form Footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.page-counter {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.continue-button {
    padding: 12px 40px;
    background-color: #183B4E;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-button:hover {
    background-color: #005094;
    box-shadow: 0 4px 8px rgba(0, 102, 179, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-ad-container {
        padding: 15px;
    }

    .step-line {
        width: 100px;
    }

    .offer-type-buttons {
        flex-direction: column;
    }

    .offer-btn {
        width: 100%;
    }

    .property-type-buttons {
        justify-content: center;
    }

    .location-fields {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        gap: 20px;
    }

    .continue-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-line {
        width: 60px;
    }

    .property-btn {
        width: 90px;
        height: 75px;
    }
}