
.container > h1 {
    margin-bottom: 30px;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}
.analysis-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
}
.profit-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.profit-item:last-child {
    border-bottom: none;
}
.risk-item {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
}
.risk-item.danger {
    background: #fee;
    border-left: 4px solid #e74c3c;
}
.risk-item.warning {
    background: #ffeaa7;
    border-left: 4px solid #f39c12;
}
.risk-item.success {
    background: #d5f4e6;
    border-left: 4px solid #27ae60;
}
.risk-item.info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #0d47a1;
}
.survey-item {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
}
.btn-remove {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 10px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    background: white;
}

.table thead {
    background: var(--theme-dark);
    color: white;
}

.table th {
    padding: 10px 8px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85em;
    white-space: nowrap;
}

.table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    font-size: 0.85em;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .table {
        font-size: 0.85em;
    }
    
    .table th,
    .table td {
        padding: 8px 6px;
    }
}



/* 탭 및 필터 스타일 */
.property-type-tabs {
    display: flex;
    width: 100%;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 25px;
    background: #f1f3f5;
    border-radius: 12px 12px 0 0;
    padding: 5px 5px 0 5px;
    gap: 5px;
}
.type-tab {
    flex: 1;
    padding: 12px 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 1em;
    color: #868e96;
    border-bottom: none;
    margin-bottom: 0;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border-radius: 10px 10px 0 0;
}
.type-tab:hover {
    background: rgba(0,0,0,0.03);
    color: #495057;
}
.type-tab.active {
    color: var(--theme-dark);
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
    position: relative;
}
.type-tab.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--theme-dark);
    border-radius: 3px 3px 0 0;
}
.tab-icon {
    font-size: 1.2em;
    margin-bottom: 2px;
}
.search-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.filter-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.filter-row:last-child {
    margin-bottom: 0;
}
.filter-group {
    flex: 1;
}
.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-buttons {
        text-align: center;
    }
}

.form-section {
    margin-bottom: 20px;
    margin-top: 30px;
}

.form-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.action-buttons {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 텍스트 크기 조정 */
.form-section h3 {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--theme-dark);
}

.profit-item span {
    font-size: 0.9em;
    color: #666;
}

.profit-item strong {
    font-size: 0.9em;
}

.risk-item {
    font-size: 0.85em;
    padding: 8px 10px;
}
