:root {
    --status-beworben: #0d6efd;
    --status-zusage: #198754;
    --status-absage: #dc3545;
    --status-gespraech: #fd7e14;
    --status-warte: #6c757d;
    --status-sonstiges: #6f42c1;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.navbar-brand {
    letter-spacing: 0.3px;
}

.table th {
    font-weight: 600;
    white-space: nowrap;
}

.table tbody tr.clickable-row {
    cursor: pointer;
}

.table tbody tr.clickable-row:hover {
    background-color: rgba(13, 110, 253, 0.06);
}

.table th.sortable {
    cursor: pointer;
    user-select: none;
}

.table th.sortable:hover {
    background-color: #e9ecef;
}

.table th.sortable .sort-icon {
    font-size: 0.75rem;
    opacity: 0.35;
    margin-left: 0.25rem;
    vertical-align: middle;
}

.table th.sortable.sort-asc .sort-icon,
.table th.sortable.sort-desc .sort-icon {
    opacity: 1;
}

.status-badge {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 50rem;
}

.badge-beworben { background-color: var(--status-beworben); }
.badge-zusage { background-color: var(--status-zusage); }
.badge-absage { background-color: var(--status-absage); }
.badge-gespraech { background-color: var(--status-gespraech); }
.badge-warte { background-color: var(--status-warte); }
.badge-sonstiges { background-color: var(--status-sonstiges); }

.job-link-btn {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-item {
    border-left: 4px solid #dee2e6;
    padding-left: 1rem;
    margin-bottom: 0.75rem;
}

.history-item.latest {
    border-left-color: #0d6efd;
}

.history-item .status-label {
    font-weight: 600;
}

.history-item .date-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.history-item .notes {
    font-size: 0.9rem;
    color: #495057;
    margin-top: 0.25rem;
}

.btn-action {
    padding: 0.25rem 0.5rem;
}

.empty-state {
    padding: 3rem 1rem;
    text-align: center;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.9rem;
    }
    .btn-action span {
        display: none;
    }
}
