/* ========================================
   GreenStep Hub - Candidates System
   ======================================== */

/* Table Container */
#candidatesSystem .table-container {
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    margin-top: 1.5rem;
    border: 1px solid var(--border);
}

/* Data Table */
#candidatesSystem .data-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    table-layout: fixed;
}

#candidatesSystem .data-table th {
    background: #e2e8f0;
    color: var(--text2);
    font-weight: 600;
    padding: 0.4rem 0.2rem;
    text-align: right;
    font-size: 0.68rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


#candidatesSystem .data-table td {
    padding: 0.3rem 0.2rem;
    text-align: right;
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Name column - no wrap */
#candidatesSystem .data-table td:nth-child(2) {
    white-space: nowrap;
}

/* Source column */
#candidatesSystem .data-table th:nth-child(3),
#candidatesSystem .data-table td:nth-child(3) {
    text-align: right;
    padding: 0.2rem;
}

/* Email column - smaller */
#candidatesSystem .data-table td:nth-child(5) {
    font-size: 0.65rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Alternating Row Colors */
#candidatesSystem .data-table tbody tr {
    background: #f8fafc;
}

#candidatesSystem .data-table tbody tr:nth-child(even) {
    background: #f1f5f9;
}

#candidatesSystem .data-table tbody tr:hover {
    background: #e2e8f0;
    transition: background 0.2s ease;
}

/* Filters Section */
#candidatesSystem .filters-section {
    background: var(--card);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

#candidatesSystem .filters-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#candidatesSystem .filter-group {
    flex: 1;
    min-width: 150px;
}

#candidatesSystem .filter-input,
#candidatesSystem .filter-select {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--bg2);
    color: var(--text);
    transition: all 0.2s;
}

#candidatesSystem .filter-input:focus,
#candidatesSystem .filter-select:focus {
    outline: none;
    border-color: var(--blue);
    background: white;
}

#candidatesSystem .multi-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
#candidatesSystem .multi-select-trigger .multi-arrow {
    font-size: 0.7rem;
    margin-right: 4px;
}
#candidatesSystem .multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    min-width: 180px;
}
#candidatesSystem .multi-select-options {
    overflow-y: auto;
    max-height: 200px;
    padding: 4px 0;
}
#candidatesSystem .multi-select-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.15s;
}
#candidatesSystem .multi-select-option:hover {
    background: var(--bg2);
}
#candidatesSystem .multi-select-option input[type="checkbox"] {
    margin: 0;
}
#candidatesSystem .multi-select-actions {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    border-top: 1px solid var(--border);
}
#candidatesSystem .multi-select-search {
    width: calc(100% - 16px);
    margin: 6px 8px;
    padding: 5px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: inherit;
    outline: none;
}
#candidatesSystem .multi-select-search:focus {
    border-color: var(--blue);
}

#candidatesSystem .btn-show,
#candidatesSystem .btn-reset {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

#candidatesSystem .btn-show {
    background: linear-gradient(135deg, var(--green), #059669);
    color: white;
}

#candidatesSystem .btn-show:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

#candidatesSystem .btn-reset {
    background: var(--bg2);
    color: var(--text2);
}

#candidatesSystem .btn-reset:hover {
    background: var(--border);
}

#candidatesSystem .filter-results {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text2);
}

/* Rating Stars */
.rating-stars {
    font-size: 1rem;
    letter-spacing: 2px;
}

.rating-stars.high {
    color: #10b981;
}

.rating-stars.medium {
    color: #f59e0b;
}

.rating-stars.low {
    color: #9ca3af;
}

/* Import Modal */
.import-instructions {
    background: var(--bg2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.import-instructions p {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: var(--text);
}

.import-instructions ul {
    margin: 0;
    padding-right: 1.5rem;
    font-size: 0.85rem;
    color: var(--text2);
}

.import-instructions li {
    margin-bottom: 0.25rem;
}

#importData {
    width: 100%;
    min-height: 200px;
    padding: 0.75rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text);
    resize: vertical;
}

#importData:focus {
    outline: none;
    border-color: var(--blue);
    background: white;
}

/* Import Modal Buttons - Always Visible */
.modal-content .form-actions {
    display: flex !important;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.modal-content .form-actions .btn {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Motivation Tab */
.motivation-section {
    padding: 0.5rem;
}

.motivation-section .info-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text2);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.motivation-text {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    resize: vertical;
    line-height: 1.6;
}

.motivation-text:focus {
    outline: none;
    border-color: var(--blue);
    background: white;
}

/* Status Tab Grid */
.status-section {
    padding: 0.5rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* Documents Section for Candidates */
.documents-section {
    padding: 0.5rem;
}

.documents-section .document-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: 10px;
    border-right: 3px solid var(--border);
    transition: all 0.2s;
}

.documents-section .document-card.has-document {
    border-right-color: var(--green);
    background: rgba(16, 185, 129, 0.05);
}

.documents-section .document-icon {
    font-size: 2rem;
}

.documents-section .document-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.documents-section .document-label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.documents-section .document-filename {
    font-size: 0.85rem;
    color: var(--blue);
    text-decoration: none;
}

.documents-section .document-filename:hover {
    text-decoration: underline;
}

.documents-section .document-status {
    font-size: 0.8rem;
    color: var(--text3);
    font-style: italic;
}

.documents-section .document-actions {
    flex: 1;
}

.documents-section .document-actions .info-input {
    width: 100%;
    padding: 0.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8rem;
}

/* Expanded Row Actions */
.expanded-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.btn-danger {
    background: var(--red);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Phone Link - normal text color */
.phone-link {
    color: inherit;
    text-decoration: none;
}

/* CV Link */
.cv-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 1.2rem;
}

.cv-link:hover {
    opacity: 0.8;
}

/* Score Badges */
.score-cell {
    text-align: right !important;
}

.score-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.score-high {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.score-medium {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.score-low {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.score-select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2px 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    width: 54px;
    text-align: center;
    background: transparent;
}
.score-select:hover { border-color: #94a3b8; }
.score-select.score-high  { background: rgba(16,185,129,0.15); color: #059669; border-color: #6ee7b7; }
.score-select.score-medium{ background: rgba(245,158,11,0.15);  color: #d97706; border-color: #fcd34d; }
.score-select.score-low   { background: rgba(239,68,68,0.15);   color: #dc2626; border-color: #fca5a5; }

.score-pending {
    color: var(--text3);
    font-style: italic;
}

/* Analyze Button */
.btn-analyze {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-analyze:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Analyze Modal */
.analyze-instructions {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-right: 4px solid #8b5cf6;
}

.analyze-instructions p {
    margin: 0 0 0.5rem 0;
    color: var(--text);
}

.analyze-note {
    font-size: 0.85rem;
    color: var(--text2);
}

.cv-link-section {
    background: var(--bg2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cv-download-link {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.cv-download-link:hover {
    text-decoration: underline;
}

.analyze-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.analyze-tab {
    flex: 1;
    padding: 0.6rem 1rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.analyze-tab.active {
    background: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
}

.analyze-tab:hover:not(.active) {
    background: var(--border);
}

#cvTextInput {
    width: 100%;
    min-height: 200px;
    padding: 0.75rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text);
    resize: vertical;
}

#cvTextInput:focus {
    outline: none;
    border-color: var(--blue);
    background: white;
}

#cvFileInput {
    width: 100%;
    padding: 0.5rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.file-hint {
    font-size: 0.8rem;
    color: var(--text3);
    margin-top: 0.5rem;
}

.file-status {
    margin-top: 0.75rem;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.file-status .loading {
    color: var(--blue);
}

.file-status .success {
    color: var(--green);
}

.file-status .error {
    color: var(--red);
}

/* Analysis Results */
.analysis-results h3 {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.result-section {
    background: var(--bg2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.result-section h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.keywords-found {
    font-size: 0.85rem;
    color: var(--green);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.no-keywords {
    font-size: 0.85rem;
    color: var(--text3);
    font-style: italic;
}

/* CV Cell with Analyze Button */
.cv-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    overflow: visible !important;
    white-space: nowrap;
}

.btn-analyze-row {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.6;
}

.btn-analyze-row:hover {
    opacity: 1;
    background: rgba(139, 92, 246, 0.1);
    transform: scale(1.1);
}

/* Auto Analyze Button */
.btn-auto-analyze {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.7;
}

.btn-auto-analyze:hover {
    opacity: 1;
    background: rgba(245, 158, 11, 0.15);
    transform: scale(1.1);
}

/* Auto Analyze Loading Modal */
.auto-analyze-loading {
    text-align: center;
    padding: 2rem;
}

.loading-spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #006838;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auto-analyze-loading p {
    margin: 0.5rem 0;
    color: var(--text);
}

.loading-step {
    font-size: 0.9rem;
    color: var(--text2);
}

.btn-delete-row {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.2rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.5;
}

.btn-delete-row:hover {
    opacity: 1;
    background: rgba(239, 68, 68, 0.15);
    transform: scale(1.1);
}

.action-cell {
    text-align: right !important;
}

.no-cv {
    color: var(--text3);
}

/* Facebook Source Badge */
.source-fb {
    font-size: 1.1rem;
    cursor: default;
}

/* Actions Dropdown */
.actions-dropdown-wrapper {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.btn-actions-toggle {
    background: linear-gradient(135deg, #006838, #059669);
    color: white;
    border: none;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.btn-actions-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 104, 56, 0.3);
}

.actions-dropdown-menu {
    position: fixed;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    min-width: 180px;
    width: max-content;
    padding: 4px 0;
    display: none;
}

.actions-dropdown-menu.show {
    display: block;
}

.actions-dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: inherit;
    color: var(--text);
    text-align: right;
    white-space: nowrap;
    transition: background 0.15s;
}

.actions-dropdown-menu button:hover {
    background: var(--bg2);
}

.actions-dropdown-menu hr {
    margin: 3px 0;
    border: none;
    border-top: 1px solid var(--border);
}

/* Candidates Header - Smaller buttons */
#candidatesSystem .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 0.75rem;
}

#candidatesSystem .header h1 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}

#candidatesSystem .header-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

#candidatesSystem .header-right .btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    border-radius: 6px;
}

/* Form Link Button */
.btn-link-copy {
    background: linear-gradient(135deg, #006838, #8DC63F);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-link-copy:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 104, 56, 0.3);
}

/* History Button */
/* Phone Call Button */
.btn-phone-row {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.6;
}

.btn-phone-row:hover {
    opacity: 1;
    background: rgba(59, 130, 246, 0.15);
    transform: scale(1.1);
}

.btn-history-row {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.6;
}

.btn-history-row:hover {
    opacity: 1;
    background: rgba(59, 130, 246, 0.15);
    transform: scale(1.1);
}

/* View Details Button */
.btn-view-row {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.6;
}

.btn-view-row:hover {
    opacity: 1;
    background: rgba(0, 104, 56, 0.15);
    transform: scale(1.1);
}

.btn-returning-row {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.6;
}

.btn-returning-row:hover {
    opacity: 1;
    background: rgba(245, 158, 11, 0.15);
    transform: scale(1.1);
}

.btn-lookalike-row {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.6;
}

.btn-lookalike-row:hover {
    opacity: 1;
    background: rgba(234, 88, 12, 0.15);
    transform: scale(1.1);
}

/* Candidate Details Modal */
.candidate-details {
    max-height: 70vh;
    overflow-y: auto;
    padding-left: 0.5rem;
}

.details-section {
    background: var(--bg2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-right: 3px solid #8DC63F;
}

.details-section h3 {
    color: #006838;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.detail-item {
    font-size: 0.9rem;
}

.detail-label {
    font-weight: 600;
    color: var(--text2);
}

.motivation-text-display {
    white-space: pre-wrap;
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cv-download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #006838, #8DC63F);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.cv-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 104, 56, 0.3);
}

.positions-list {
    margin: 0;
    padding-right: 1.5rem;
}

.positions-list li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.experience-grid,
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
}

.exp-item,
.knowledge-item {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    background: white;
    border-radius: 6px;
}

.exp-label,
.knowledge-label {
    font-weight: 500;
    color: var(--text2);
}

/* Motivation Cell */
.motivation-cell {
    text-align: center !important;
}

.btn-motivation {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.7;
}

.btn-motivation:hover {
    opacity: 1;
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.1);
}

.no-motivation {
    color: var(--text3);
}

/* Motivation Popup */
.motivation-popup {
    position: fixed;
    z-index: 10000;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    min-width: 250px;
    animation: popupFadeIn 0.2s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.motivation-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #006838, #8DC63F);
    color: white;
    border-radius: 10px 10px 0 0;
    font-size: 0.85rem;
}

.motivation-popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
}

.motivation-popup-close:hover {
    opacity: 1;
}

.motivation-popup-content {
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text);
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
}

/* Notes Cell */
.notes-cell {
    text-align: center !important;
    width: 50px;
    white-space: nowrap;
}

/* Simple Status Select */
.simple-status-select {
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border);
    cursor: pointer;
    font-family: inherit;
}
.simple-status-none {
    background: rgba(156, 163, 175, 0.1);
    color: #6b7280;
}
.simple-status-in-process {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}
.simple-status-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}
.simple-status-check {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}
.simple-status-accepted {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

/* Editable cells (double-click to edit) */
.editable-cell {
    cursor: text;
    position: relative;
}
.editable-cell:hover {
    background: rgba(16, 185, 129, 0.08);
}
/* Editable City */
.editable-city {
    cursor: text;
    position: relative;
}
.editable-city:hover {
    background: rgba(16, 185, 129, 0.08);
}
.edit-city-input {
    outline: none;
}

/* Interview Cell */
.interview-cell {
    text-align: right !important;
    white-space: nowrap;
}

.interview-select {
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    direction: rtl;
}

.interview-select.interview-yes {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-color: #a7f3d0;
}

.interview-select.interview-no {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-color: #fecaca;
}

.ceo-interview-select {
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    direction: rtl;
}

.ceo-interview-select.ceo-passed {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-color: #a7f3d0;
}

.ceo-interview-select.ceo-failed {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-color: #fecaca;
}

.ceo-interview-select.ceo-scheduled {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
    border-color: #bfdbfe;
}

.ceo-interview-select.ceo-withdrawn {
    background: rgba(156, 163, 175, 0.15);
    color: #92400e;
    border-color: #fde68a;
}

.ceo-interview-select.ceo-none {
    background: rgba(156, 163, 175, 0.1);
    color: #6b7280;
    border-color: #e5e7eb;
}

/* Form Score Column */
.form-score-cell {
    text-align: right !important;
}

.btn-form-score {
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-form-score:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-form-score.score-high {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-color: #a7f3d0;
}

.btn-form-score.score-medium {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    border-color: #fde68a;
}

.btn-form-score.score-low {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    border-color: #fecaca;
}

/* Form Answers Modal */
.form-answers-modal {
    direction: rtl;
}

.form-answers-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0,104,56,0.08), rgba(141,198,63,0.08));
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.form-score-big {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green, #006838);
}

.form-score-label {
    color: var(--text2, #666);
    font-size: 0.9rem;
}

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

.form-answers-table th {
    text-align: right;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text3, #999);
    border-bottom: 2px solid var(--border, #eee);
}

.form-answers-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border, #eee);
    font-size: 0.9rem;
}

.form-answer-label {
    font-weight: 500;
}

.form-answer-value {
    text-align: center;
}

.form-answer-icon {
    text-align: center;
    width: 40px;
}

.form-answer-yes td { background: rgba(16, 185, 129, 0.05); }
.form-answer-partial td { background: rgba(245, 158, 11, 0.05); }
.form-answer-no td { background: rgba(239, 68, 68, 0.05); }
.form-answer-empty td { color: var(--text3, #999); }

.form-section-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--green, #006838);
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--green-light, #8DC63F);
}

/* Notes Header - centered */
.notes-header {
    text-align: center !important;
}

/* Actions Header */
.actions-header {
    text-align: right !important;
}

.notes-cell .btn-notes {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.7;
}

.notes-cell .btn-notes:hover {
    opacity: 1;
    background: rgba(0, 104, 56, 0.1);
    transform: scale(1.1);
}

/* Action Cell - Compact */
.action-cell {
    text-align: right !important;
    width: 120px;
    white-space: nowrap;
}

/* Notes Modal */
.notes-modal textarea {
    width: 100%;
    min-height: 150px;
    padding: 0.75rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    resize: vertical;
    line-height: 1.6;
}

.notes-modal textarea:focus {
    outline: none;
    border-color: var(--green);
    background: white;
}

/* ========================================
   KANBAN / PIPELINE VIEW
   ======================================== */

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 0.25rem;
    background: var(--bg2);
    padding: 0.25rem;
    border-radius: 8px;
    margin-left: 1rem;
}

.view-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    color: var(--text2);
    transition: all 0.2s;
}

.view-btn.active {
    background: white;
    color: var(--text);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

/* Pipeline Container */
.kanban-container {
    margin-top: 1.5rem;
}

/* ========================================
   Pipeline Table View - Status Tabs
   ======================================== */

.pipeline-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.status-tab {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.status-tab:hover {
    border-color: var(--tab-color, var(--green));
    background: rgba(0, 104, 56, 0.05);
}

.status-tab.active {
    border-color: var(--tab-color, var(--green));
    background: var(--tab-color, var(--green));
    color: white;
}

/* Pipeline Search Row */
.pipeline-search-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pipeline-results-count {
    font-size: 0.85rem;
    color: var(--text2);
}

/* Pipeline Search Box */
.pipeline-search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    max-width: 350px;
}

.pipeline-search-box input {
    width: 100%;
    padding: 0.6rem 1rem;
    padding-left: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
}

.pipeline-search-box input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pipeline-search-clear {
    position: absolute;
    left: 0.5rem;
    background: none;
    border: none;
    color: var(--text3);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
}

.pipeline-search-clear:hover {
    color: var(--text);
}

/* Pipeline Actions Buttons */
.pipeline-actions-btns {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pipe-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg2);
}

.pipe-btn:hover {
    transform: scale(1.1);
}

.pipe-btn.phone {
    background: rgba(59, 130, 246, 0.15);
}
.pipe-btn.phone:hover {
    background: rgba(59, 130, 246, 0.25);
}

.pipe-btn.interview {
    background: rgba(139, 92, 246, 0.15);
}
.pipe-btn.interview:hover {
    background: rgba(139, 92, 246, 0.25);
}

.pipe-btn.ceo {
    background: rgba(245, 158, 11, 0.15);
}
.pipe-btn.ceo:hover {
    background: rgba(245, 158, 11, 0.25);
}

.pipe-btn.summary {
    background: rgba(59, 130, 246, 0.15);
}
.pipe-btn.summary:hover {
    background: rgba(59, 130, 246, 0.25);
}

.pipe-btn.skip {
    background: rgba(245, 158, 11, 0.15);
}
.pipe-btn.skip:hover {
    background: rgba(245, 158, 11, 0.25);
}

.pipe-btn.reference-check {
    background: rgba(6, 182, 212, 0.15);
}
.pipe-btn.reference-check:hover {
    background: rgba(6, 182, 212, 0.25);
}

.pipe-btn.accept {
    background: rgba(16, 185, 129, 0.15);
}
.pipe-btn.accept:hover {
    background: rgba(16, 185, 129, 0.25);
}

.pipe-btn.reject {
    background: rgba(239, 68, 68, 0.15);
}
.pipe-btn.reject:hover {
    background: rgba(239, 68, 68, 0.25);
}

.pipe-btn.withdrawn {
    background: rgba(156, 163, 175, 0.15);
}
.pipe-btn.withdrawn:hover {
    background: rgba(156, 163, 175, 0.3);
}

.pipe-btn.revert {
    background: rgba(100, 116, 139, 0.15);
}
.pipe-btn.revert:hover {
    background: rgba(100, 116, 139, 0.25);
}

.phone-done-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #10b981;
}

.pipeline-row.phone-done td:first-child strong {
    color: #059669;
}

.pipe-btn.returning,
.tbl-action-btn.returning {
    background: rgba(245, 158, 11, 0.15);
}
.pipe-btn.returning:hover,
.tbl-action-btn.returning:hover {
    background: rgba(245, 158, 11, 0.25);
}

.btn-pipeline.returning {
    background: #f59e0b;
    color: white;
}
.btn-pipeline.returning:hover {
    background: #d97706;
}

.btn-warning {
    background: #9ca3af;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-warning:hover {
    background: #6b7280;
}

/* Pipeline Stats Bar */
.pipeline-stats {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pipeline-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: white;
    border-radius: 10px;
    border: 2px solid;
    border-right-width: 4px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 120px;
}

.pipeline-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pipeline-stat.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.pipeline-stat .stat-icon {
    font-size: 1.2rem;
}

.pipeline-stat .stat-count {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}

.pipeline-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text2);
}

/* Pipeline Table */
.pipeline-table-container {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

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

.pipeline-table thead th {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    text-align: right;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text2);
    border-bottom: 2px solid var(--border);
}

.pipeline-table tbody tr {
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.pipeline-table tbody tr:hover {
    background: #f8fafc;
}

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

.pipeline-table td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    vertical-align: middle;
}

/* Status Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Table Actions */
.actions-cell {
    white-space: nowrap;
}

.tbl-action-btn {
    padding: 0.4rem 0.6rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--bg2);
    margin-left: 0.25rem;
}

.tbl-action-btn:hover {
    transform: scale(1.1);
}

.tbl-action-btn.phone:hover { background: rgba(59, 130, 246, 0.2); }
.tbl-action-btn.interview:hover { background: rgba(139, 92, 246, 0.2); }
.tbl-action-btn.ceo:hover { background: rgba(245, 158, 11, 0.2); }
.tbl-action-btn.accept:hover { background: rgba(16, 185, 129, 0.2); }
.tbl-action-btn.reject:hover { background: rgba(239, 68, 68, 0.2); }
.tbl-action-btn.revert:hover { background: rgba(59, 130, 246, 0.2); }

/* Row status colors - subtle background */
.pipeline-row[data-status="new"] { background: rgba(100, 116, 139, 0.03); }
.pipeline-row[data-status="phone_call"] { background: rgba(59, 130, 246, 0.03); }
.pipeline-row[data-status="manager_interview"] { background: rgba(139, 92, 246, 0.03); }
.pipeline-row[data-status="ceo_interview"] { background: rgba(245, 158, 11, 0.03); }
.pipeline-row[data-status="accepted"] { background: rgba(16, 185, 129, 0.05); }
.pipeline-row[data-status="rejected"] { background: rgba(239, 68, 68, 0.05); }
.pipeline-row[data-status="reference_check"] { background: rgba(6, 182, 212, 0.03); }

/* Pipeline Modal */
.pipeline-modal {
    max-height: 70vh;
    overflow-y: auto;
}

.pipeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.pipeline-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.2rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pipeline-info {
    background: var(--bg2);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.info-row {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.info-row:last-child {
    margin-bottom: 0;
}

.cv-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, #006838, #8DC63F);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.cv-link-btn:hover {
    opacity: 0.9;
}

/* Timeline */
.pipeline-timeline {
    margin-bottom: 1.5rem;
}

.pipeline-timeline h4 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1rem;
}

.timeline {
    position: relative;
    padding-right: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 0.6rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-icon {
    position: absolute;
    right: -2rem;
    width: 1.5rem;
    height: 1.5rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.timeline-item.completed .timeline-icon {
    border-color: var(--green);
    background: rgba(16, 185, 129, 0.1);
}

.timeline-item.pending .timeline-icon {
    border-color: var(--text3);
    background: var(--bg2);
    opacity: 0.5;
}

.timeline-item.accept .timeline-icon {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.timeline-item.reject .timeline-icon {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

.timeline-content {
    background: var(--bg2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.timeline-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text2);
    margin-top: 0.2rem;
}

.timeline-notes {
    font-size: 0.8rem;
    color: var(--text2);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border);
}

/* Pipeline Actions */
.pipeline-actions {
    margin-bottom: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-pipeline {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-pipeline.phone {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.btn-pipeline.phone:hover {
    background: rgba(59, 130, 246, 0.25);
}

.btn-pipeline.interview {
    background: rgba(139, 92, 246, 0.15);
    color: #7c3aed;
}

.btn-pipeline.interview:hover {
    background: rgba(139, 92, 246, 0.25);
}

.btn-pipeline.ceo {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.btn-pipeline.ceo:hover {
    background: rgba(245, 158, 11, 0.25);
}

.btn-pipeline.reference-check {
    background: rgba(6, 182, 212, 0.15);
    color: #0891b2;
}

.btn-pipeline.reference-check:hover {
    background: rgba(6, 182, 212, 0.25);
}

.btn-pipeline.accept {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.btn-pipeline.accept:hover {
    background: rgba(16, 185, 129, 0.25);
}

.btn-pipeline.reject {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.btn-pipeline.reject:hover {
    background: rgba(239, 68, 68, 0.25);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-success:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Stage Form */
.stage-form,
.reject-form,
.convert-form {
    padding: 0.5rem 0;
}

.stage-header,
.reject-header,
.convert-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg2);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.stage-icon,
.reject-icon,
.convert-icon {
    font-size: 1.3rem;
}

/* Form Row - Two columns */
.stage-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .stage-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Checkbox Group */
.checkbox-group {
    background: var(--bg2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}

.convert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.convert-success p {
    margin: 0.25rem 0;
    color: #047857;
}

.convert-success p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Revert/Change Status Button */
.btn-pipeline.revert {
    background: rgba(100, 116, 139, 0.15);
    color: #475569;
}

.btn-pipeline.revert:hover {
    background: rgba(100, 116, 139, 0.25);
}

/* Change Status Modal */
.change-status-modal {
    padding: 0.5rem 0;
}

.change-status-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg2);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.change-status-info {
    margin-bottom: 1rem;
    color: var(--text2);
    font-size: 0.9rem;
}

.status-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-pipeline-select {
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--border);
    background: white;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-pipeline-select:hover {
    border-color: var(--green);
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .status-options {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .status-grid {
        grid-template-columns: 1fr;
    }

    .documents-section .document-card {
        flex-direction: column;
        text-align: center;
    }

    .documents-section .document-actions {
        width: 100%;
    }

    .kanban-board {
        flex-direction: column;
    }

    .kanban-column {
        min-width: 100%;
        max-width: 100%;
        max-height: none;
    }

    .view-toggle {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}
