.rx-container { max-width: 1000px; margin: 10px auto 30px; padding: 16px; border-radius: 10px; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.rx-header { display:flex; align-items:center; gap:14px; margin-bottom: 10px; }
.rx-logo { width:72px; height:auto; object-fit:contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); }
.rx-title h2 { margin:0; font-weight:600; }
.rx-sub { margin:.2rem 0 0; color:#666; }

.rx-form { display:flex; flex-direction:column; gap:10px; }
.rx-row { display:flex; gap:10px; flex-wrap:wrap; }
.rx-form input, .rx-form select { padding:10px 12px; border:1px solid #d3d8e0; border-radius:8px; flex:1 1 230px; font-size:15px; }
.rx-btn-primary { background:#ff7a1a; color:#fff; border:none; padding:10px 14px; border-radius:8px; cursor:pointer; font-weight:600; }
.rx-btn-primary:hover { background:#e36f19; }
.rx-btn-secondary { background:#f1f3f5; border:1px solid #d3d8e0; color:#222; padding:9px 12px; border-radius:8px; text-decoration:none; display:inline-block; cursor:pointer; }
.rx-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }

.rx-adv-toggle { align-self:flex-start; background:transparent; border:none; color:#0b65c2; font-weight:600; cursor:pointer; padding:4px 0; }
.rx-adv { background:#fafbfc; border:1px dashed #e5e7eb; padding:10px; border-radius:10px; }

/* Help Modal */
.rx-modal { position:fixed; top:0; left:0; width:100%; height:100%; z-index:10000; }
.rx-modal-overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.7); }
.rx-modal-content { position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); background:#fff; border-radius:12px; max-width:900px; width:90%; max-height:90vh; display:flex; flex-direction:column; box-shadow:0 20px 60px rgba(0,0,0,0.3); }
.rx-modal-header { padding:20px 24px; border-bottom:1px solid #e5e7eb; display:flex; justify-content:space-between; align-items:center; }
.rx-modal-header h2 { margin:0; font-size:24px; color:#1a1a1a; }
.rx-modal-close { background:transparent; border:none; font-size:28px; color:#666; cursor:pointer; padding:0; width:32px; height:32px; line-height:28px; }
.rx-modal-close:hover { color:#000; }
.rx-modal-body { padding:24px; overflow-y:auto; flex:1; }
.rx-modal-footer { padding:16px 24px; border-top:1px solid #e5e7eb; display:flex; justify-content:flex-end; }

/* Help Content */
.rx-help-section { margin-bottom:32px; }
.rx-help-section h3 { color:#1a1a1a; font-size:20px; margin:0 0 16px 0; padding-bottom:8px; border-bottom:2px solid #ff7a1a; }
.rx-help-example { background:#f8f9fa; border-left:4px solid #ff7a1a; padding:16px; margin-bottom:16px; border-radius:6px; }
.rx-help-example h4 { margin:0 0 12px 0; color:#333; font-size:16px; }
.rx-help-example code { background:#fff; padding:2px 8px; border-radius:4px; border:1px solid #e5e7eb; font-size:14px; color:#e36f19; font-family:monospace; }
.rx-help-example p { margin:8px 0; line-height:1.6; color:#555; }
.rx-help-example ul { margin:8px 0; padding-left:24px; }
.rx-help-example ul li { margin:4px 0; color:#555; }
.rx-tip { background:#d1fae5; border-left:4px solid #10b981; padding:8px 12px; border-radius:4px; margin-top:8px; }
.rx-warning { background:#fee2e2; border-left:4px solid #ef4444; padding:8px 12px; border-radius:4px; margin-top:8px; }
.rx-help-table { width:100%; border-collapse:collapse; margin:12px 0; }
.rx-help-table th { background:#ff7a1a; color:#fff; padding:8px 12px; text-align:left; }
.rx-help-table td { background:#fff; border:1px solid #e5e7eb; padding:8px 12px; }
.rx-help-table tr:nth-child(even) td { background:#f8f9fa; }

/* Filter notification animations */
@keyframes slideIn {
  from { transform: translateX(400px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(400px); opacity: 0; }
}

/* Vacature import section */
.rx-vacature-import h4 { color: #0073aa; }
.rx-vacature-import select { min-width: 250px; }

/* Result selection */
.rx-select { margin-right:8px; }
.rx-result-tools { margin:8px 0; }
.rx-exportbar { margin:10px 0 0; }

.rx-hint { color:#666; font-style:italic; }

/* Enhanced fields styling */
.rx-form input[name="industry"], 
.rx-form input[name="seniority"], 
.rx-form input[name="department"] {
    border-left: 3px solid #0073aa;
}

.rx-form select[name="distance"] {
    border-left: 3px solid #00a32a;
    min-width: 120px;
}

/* Filter labels styling (NEW!) */
.rx-filter-label {
    padding: 4px 12px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.rx-filter-label:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.rx-filter-label input[type="checkbox"]:checked {
    accent-color: #10b981;
}

.rx-filter-label:has(input:checked) {
    background: #ecfdf5;
    border-color: #10b981;
    color: #047857;
}

/* Notities hover tooltip */
.rx-tp-notes-cell {
    position: relative;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rx-tp-notes-cell:hover::after {
    content: attr(title);
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 5px;
    padding: 10px 12px;
    background: #1e293b;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 300px;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.rx-tp-notes-cell:hover::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 100%;
    border: 6px solid transparent;
    border-bottom-color: #1e293b;
    z-index: 1001;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .rx-row { flex-direction: column; }
    .rx-form input, .rx-form select { flex: 1 1 auto; }
    .rx-vacature-import { text-align: center; }
    .rx-vacature-import select { width: 100%; margin-bottom: 10px; }
}
