/* Enhanced Layout Styles */
.layout-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Info Section */
.info-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: var(--panel-header-height);
    border-bottom: 1px solid var(--border-color);
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.section-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--secondary-text);
    transition: all 0.2s;
}

.toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.info-content {
    padding: 16px;
}

.info-content.collapsed {
    display: none;
}

/* Results Section */
.results-section {
    grid-column: 1 / 2;
}

/* Tabs Container */
.tabs-container {
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8f9fa;
}

.tab-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--secondary-text);
    transition: all 0.2s;
}

.tab-btn:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: white;
}

.tab-content {
    padding: 20px;
    min-height: 300px;
}

/* Neighborhood Panel */
.neighborhood-panel {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    overflow: hidden;
}

.neighborhood-info {
    padding: 16px;
}

/* Content Actions */
.content-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: #f5f5f5;
}

.save-btn {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.save-btn:hover {
    background-color: #14304d;
}

/* Input with suffix styling for the price input */
.input-with-suffix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-suffix {
    position: absolute;
    right: 12px;
    color: #666;
    font-weight: 500;
}

/* Radio buttons styling */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
}

/* Metadata Display */
.metadata-container {
    margin-top: 20px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.metadata-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.metadata-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.metadata-item {
    font-size: 13px;
    color: var(--secondary-text);
}

/* Responsive Design */
@media (max-width: 992px) {
    .layout-container {
        grid-template-columns: 1fr;
    }
    
    .neighborhood-panel {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .metadata-list {
        grid-template-columns: 1fr;
    }
}
