/* Start New Auction Wizard Styles */
.auction-wizard-content-wrapper {
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Progress Bar Container */
.progress-bar-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.progress-bar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    width: 0%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 10;
}

/* Progress Bar */
.wizard-progress {
    position: relative;
    overflow: visible;
    /* Allow percentage text to be visible */
    padding: 2rem 0.5rem 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.progress-bar::after {
    content: attr(data-percentage);
    position: absolute;
    left: 0;
    top: 5px;
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    white-space: nowrap;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

/* Show percentage text even on step 1 (0%) */
.progress-bar.hide-percentage::after {
    opacity: 1;
    display: block;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.progress-step:first-child::before {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

/* Current step - Primary color with pulsating animation */
.progress-step.current .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    animation: pulse-step 2s ease-in-out infinite;
}

/* Passed steps - Green */
.progress-step.passed .step-number {
    background: #27ae60;
    border-color: #27ae60;
    color: var(--bg-white);
}

/* Future steps - Gray */
.progress-step.future .step-number {
    background: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.step-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
}


/* Current step label - Primary color */
.progress-step.current .step-label {
    color: var(--primary-color);
}

/* Passed step label - Green */
.progress-step.passed .step-label {
    color: #27ae60;
}

/* Future step label - Gray */
.progress-step.future .step-label {
    color: var(--text-secondary);
}

/* Wizard Steps */
.wizard-steps-container {
    position: relative;
}

.wizard-step {
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow-sm);
}

.step-title {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.step-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
}

/* Wizard Form */
.wizard-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.add-new-auction-form-label {
    font-size: var(--font-size-base);
    color: var(--text-primary);
}

.required-indicator {
    color: #e74c3c;
}

.add-new-auction-form-input {
    width: 100%;
    padding: 0 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    background: var(--bg-white);
    transition: all var(--transition-base);
    font-family: inherit;
    text-align: right;
}

/* Number Input Wrapper */
.number-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.number-input-wrapper .add-new-auction-form-input {
    flex: 1;
    margin: 0;
    height: 2.5rem;
}

.number-input-center {
    text-align: center !important;
    cursor: default;
}

.number-input-center:focus {
    cursor: default;
}

.number-input-center[readonly] {
    background-color: var(--bg-white);
    cursor: default;
}

/* Number Input Buttons */
.number-input-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: var(--font-size-base);
}

.number-input-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-white);
    color: var(--text-light);
    border-color: var(--border-light);
}

.number-input-btn i {
    width: 1.25rem;
    height: 1.25rem;
}

.add-new-auction-form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.add-new-auction-form-input::placeholder {
    color: var(--text-light);
}

.form-textarea {
    width: 100%;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-helper {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    margin-top: -0.25rem;
}

/* Boundaries Group */
.boundaries-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.boundary-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.boundary-label {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    font-weight: 500;
}

/* Radio Group */
.add-new-auction-radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-label input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked+span {
    color: var(--primary-color);
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-base);
}

.checkbox-label-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
}

.checkbox-label-content span {
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
}

.authorization-error-message {
    display: block;
    color: #dc2626;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    text-align: start;
    margin-top: 0.5rem;
}

/* Input with Unit/Currency */
.input-with-unit,
.input-with-currency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-with-unit .form-input,
.input-with-currency .form-input {
    flex: 1;
}

.input-currency {
    font-size: 1.2rem;
    padding: 0 0.5rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-currency .rial-icon {
    width: 0.9rem;
    height: 0.9rem;
    object-fit: contain;
    display: block;
}

/* Date Time Group */
.datetime-group {
    display: flex;
    gap: 0.75rem;
}

.datetime-group .add-new-auction-form-input {
    flex: 1;
}

.datetime-group .add-new-auction-form-input[style*="display: none"] {
    display: none !important;
}

.timezone-display {
    padding: 0.75rem;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    text-align: center;
}

.timezone-display small {
    color: var(--primary-color);
}

/* Image Upload */
.image-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.upload-placeholder {
    text-align: center;
    padding: 1rem 0;
    cursor: pointer;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--text-light);
    margin: 0 auto 1rem;
    display: block;
}

.upload-placeholder p {
    color: var(--text-primary);
    margin: 0.5rem 0;
}

.upload-placeholder small {
    color: var(--text-light);
    display: block;
    margin-top: 0.5rem;
}

.image-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image-btn {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: background var(--transition-base);
}

/* File Upload */
.file-upload-area {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-upload-placeholder {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem 0;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.file-upload-placeholder.has-file {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.file-upload-placeholder .upload-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    margin: 0 auto 0.75rem;
    display: block;
}

.file-upload-placeholder p {
    color: var(--text-primary);
    margin: 0.5rem 0;
}

.file-upload-placeholder small {
    color: var(--text-light);
    display: block;
    margin-top: 0.5rem;
}

.delete-file-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all var(--transition-base);
    z-index: 10;
}

.delete-file-btn:hover {
    background: rgba(231, 76, 60, 1);
    transform: scale(1.1);
}

.delete-icon {
    width: 16px;
    height: 16px;
    color: white;
    stroke: white;
    stroke-width: 3;
}

.change-file-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    align-self: flex-start;
}

/* Documents Checklist */
.documents-checklist {
    padding: 1rem 1rem 0;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

.documents-checklist h4 {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.checklist-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.checklist-item.completed .checklist-icon {
    color: #27ae60;
}

.checklist-item.pending .checklist-icon {
    color: var(--text-light);
}

/* Wizard Buttons */
.wizard-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    padding: 15px 0;
}

.wizard-btn {
    width: fit-content;
    padding: 0.3rem 0.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease, cursor 0.3s ease;
    font-family: inherit;
}

.wizard-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wizard-btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.wizard-btn-secondary {
    background: var(--bg-white);
    color: black;
}

/* Review Step */
.review-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    align-self: flex-start;
}

.status-badge.ready {
    background: #d4edda;
    color: #155724;
}

.status-badge.draft {
    background: #fff3cd;
    color: #856404;
}

.status-icon {
    width: 20px;
    height: 20px;
}

.missing-fields-alert {
    padding: 0.5rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius-sm);
    color: #721c24;
}

.missing-fields-alert * {
    font-size: var(--font-size-sm);
}

.missing-fields-alert h4 {
    margin: 0 0 0.75rem 0;
    font-size: var(--font-size-sm);
}

.missing-fields-alert ul {
    margin: 0;
    padding-right: 1.5rem;
}

.review-section {
    padding: 1.25rem 0;
    border-radius: var(--radius-sm);
}

.review-section-title {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.review-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-left: 1rem;
}

.review-value {
    color: var(--text-primary);
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
}


.review-boundaries {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.review-boundary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-boundary-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.review-boundary-value {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    align-self: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auction-wizard-content-wrapper {
        padding: 0.75rem;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: var(--font-size-sm);
    }

    .wizard-step {
        padding: 1rem 0.5rem;
    }

    .datetime-group {
        flex-direction: column;
    }

    .image-previews {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .review-label {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .progress-steps {
        gap: 0.25rem;
    }

    .wizard-progress {
        padding: 2rem 0 1rem;
    }

    /* Show mobile labels and hide desktop labels */
    .step-label {
        position: relative;
        font-size: 0;
        line-height: 1;
    }

    .step-label::before {
        content: attr(data-mobile-label);
        font-size: var(--font-size-xs);
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        color: inherit;
    }

    .progress-step.current .step-label::before {
        color: var(--primary-color);
    }

    .progress-step.passed .step-label::before {
        color: #27ae60;
    }

    .progress-step.future .step-label::before {
        color: var(--text-secondary);
    }

    .add-new-auction-radio-group {
        flex-direction: column;
    }

    .radio-label {
        width: 100%;
    }

    .wizard-btn {
        font-size: var(--font-size-xs);
    }
}

/* Properties Cards Container */
.properties-cards-container {
    display: flex;
    gap: 0.2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 1rem;
    margin-bottom: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.properties-cards-container::-webkit-scrollbar {
    height: 6px;
}

.properties-cards-container::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.properties-cards-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.property-card-item {
    width: fit-content;
    padding: 0.1rem 0.5rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.property-card-item.selected {
    background: #0b2c4a;
    border-color: #0b2c4a;
}

.property-card-item.selected .property-card-title {
    color: var(--bg-white);
}

.property-card-title {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    margin: 0;
    text-align: center;
    transition: color var(--transition-base);
}

/* Review Property Cards */
.review-properties-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-property-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-property-card.expanded {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.review-property-card-header {
    padding: 0.5rem;
    cursor: pointer;
    transition: background var(--transition-base);
}

.review-property-card-header:hover {
    background: var(--bg-light);
}

.review-property-card-title {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.review-property-card-brief {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.review-property-brief-item {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.review-property-card-content {
    max-height: 0;
    padding: 0 1rem;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    cursor: pointer;
}

.review-property-card.expanded .review-property-card-content {
    max-height: 3000px;
    padding: 0 1rem 1rem;
    opacity: 1;
}

.review-property-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.review-property-btn {
    flex: 1;
    padding: 0.1rem 0;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
}

.review-property-collapse-btn {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.review-property-collapse-btn:hover {
    background: var(--bg-hover);
}

.review-property-edit-btn {
    background: var(--primary-color);
    color: var(--bg-white);
}

.review-property-edit-btn:hover {
    background: var(--primary-dark);
}

.review-property-delete-btn {
    background: #e74c3c;
    color: var(--bg-white);
}

.review-property-delete-btn:hover {
    background: #c0392b;
}

/* Bottom Sheet for Property Deletion */
.property-delete-bottom-sheet {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    pointer-events: none;
}

.property-delete-bottom-sheet.active {
    pointer-events: all;
}

.property-delete-bottom-sheet .bottom-sheet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-delete-bottom-sheet.active .bottom-sheet-overlay {
    opacity: 1;
}

.property-delete-bottom-sheet .bottom-sheet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.property-delete-bottom-sheet.active .bottom-sheet-content {
    transform: translateY(0);
}

.property-delete-bottom-sheet .bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin: 0 auto 1rem;
    cursor: grab;
}

.property-delete-bottom-sheet .bottom-sheet-handle:active {
    cursor: grabbing;
}

.property-delete-bottom-sheet .bottom-sheet-title {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.property-delete-bottom-sheet .bottom-sheet-message {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.property-delete-bottom-sheet .bottom-sheet-buttons {
    display: flex;
    gap: 0.75rem;
}

.property-delete-bottom-sheet .bottom-sheet-btn {
    flex: 1;
    padding: 0.2rem 0;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
}

.property-delete-bottom-sheet .bottom-sheet-cancel-btn {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.property-delete-bottom-sheet .bottom-sheet-cancel-btn:hover {
    background: var(--bg-hover);
}

.property-delete-bottom-sheet .bottom-sheet-confirm-btn {
    background: #e74c3c;
    color: var(--bg-white);
}

.property-delete-bottom-sheet .bottom-sheet-confirm-btn:hover {
    background: #c0392b;
}

/* ============================================
   Property Details Page (Full property view)
   ============================================ */

.property-details-page {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #e8e8e8;
    z-index: 20;
    transform: translateX(100%);
    opacity: 1;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.25s ease;
}

.property-details-page.property-details-page-open {
    /* Slide in: move to normal position (slide to left) */
    transform: translateX(0);
    opacity: 1;
}

.property-details-page.property-details-page-closing {
    /* Smooth fade out when closing */
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.3s ease;
}

.property-details-page-content {
    padding: 1rem;
    padding-bottom: 2rem;
}

.property-details-section {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}

.property-details-section-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.property-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light, var(--border-color));
}

.property-detail-item:last-child {
    border-bottom: none;
}

.property-detail-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.property-detail-value {
    font-size: var(--font-size-base);
    color: var(--text-primary);
}

.property-detail-description {
    white-space: pre-wrap;
    line-height: 1.6;
}

.property-detail-link {
    color: var(--primary-color);
    text-decoration: underline;
    word-break: break-all;
}

.property-detail-link:hover {
    text-decoration: none;
}

.property-detail-boundaries {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.property-detail-boundary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light, var(--border-color));
}

.property-detail-boundary-item:last-child {
    border-bottom: none;
}

.property-detail-boundary-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.property-detail-boundary-value {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    white-space: pre-wrap;
}

.property-detail-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.property-detail-image-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.property-detail-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-detail-no-images {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    margin: 0;
    padding: 1rem 0;
}

.property-details-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    gap: 0.5rem;
}

.property-detail-bottom-btn {
    width: 100%;
    border-radius: var(--radius-sm);
}