/* ==========================================================================
   StartAi.PropertyTransaction - Modern Responsive CSS
   ========================================================================== */

.startai-transaction-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c3e50;
    margin: 20px 0;
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eef2f5;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.transaction-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a252f;
    margin: 0;
}

.transaction-header .subtitle {
    font-size: 14px;
    color: #7f8c8d;
    margin: 5px 0 0 0;
}

.transaction-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #dfe6e9;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 18px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #636e72;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: #0984e3;
}

.tab-btn.active {
    color: #0984e3;
    border-bottom-color: #0984e3;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.filter-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}

.filter-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-control {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e9ecef;
}

.table th, .table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    font-size: 13.5px;
}

.table th {
    background: #f1f3f5;
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-draft { background: #dfe6e9; color: #2d3436; }
.badge-negotiating { background: #ffeaa7; color: #d63031; }
.badge-offer { background: #81ecec; color: #00cec9; }
.badge-deposited { background: #55efc4; color: #00b894; }
.badge-contract { background: #74b9ff; color: #0984e3; }
.badge-completed { background: #00b894; color: #fff; }
.badge-cancelled { background: #d63031; color: #fff; }
.badge-disputed { background: #e17055; color: #fff; }

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.btn-primary { background: #0984e3; color: #fff; }
.btn-primary:hover { background: #076fc2; }
.btn-secondary { background: #636e72; color: #fff; }
.btn-outline { background: transparent; border: 1px solid #0984e3; color: #0984e3; }
.btn-sm { padding: 4px 10px; font-size: 12px; }

.detail-header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfdfd;
    padding: 15px 20px;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    margin-bottom: 20px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card {
    background: #fff;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    padding: 16px;
}

.card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
    border-bottom: 1px solid #f1f2f6;
    padding-bottom: 8px;
}

.milestone-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.milestone-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f2f6;
}

.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.text-center { text-align: center; }
.text-muted { color: #b2bec3; }
