/* ==============================
   HRDC - T3 Forms Modal
   ============================== */

.hrdc-container {
    padding: 24px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #374151;
}

.hrdc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.hrdc-header-subtitle {
    font-size: 14px;
    color: #6b7280;
}

.hrdc-badge {
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 9999px;
    background: #d1fae5;
    color: #047857;
    font-weight: 500;
}

/* Table */
.hrdc-table-wrapper {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.hrdc-table {
    width: 100%;
    border-collapse: collapse;
}

.hrdc-table th {
    background: #f9fafb;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 12px 16px;
    text-align: left;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.hrdc-table td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.hrdc-table tr:hover {
    background: #f9fafb;
}

.hrdc-muted {
    opacity: .6;
}

.hrdc-actions {
    text-align: right;
    white-space: nowrap;
}

/* Buttons */
.hrdc-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s ease;
}

.hrdc-btn-primary {
    background: #2563eb;
    color: #fff;
    margin-right: 6px;
}

.hrdc-btn-primary:hover {
    background: #1d4ed8;
}

.hrdc-btn-outline {
    background: #fff;
    color: #2563eb;
    border: 1px solid #d1d5db;
}

.hrdc-btn-outline:hover {
    background: #f8fafc;
    border-color: #2563eb;
}

.hrdc-empty {
    font-size: 12px;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .hrdc-container {
        padding: 16px;
    }

    .hrdc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hrdc-table th,
    .hrdc-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
}
