[x-cloak] {
    display: none !important;
}

body {
    background-color: #f8f9fa;
}

.skills-table {
    font-size: 0.9rem;
}

.skills-table td,
.skills-table th {
    padding: 0.5rem;
    vertical-align: middle;
}

.skills-table input[type="number"] {
    min-width: 80px;
}

.skills-heatmap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.heatmap-cell {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background-color: #eee;
    cursor: pointer;
}

.heatmap-cell.level-1 {
    background-color: #9be9a8;
}

.heatmap-cell.level-2 {
    background-color: #40c463;
}

.heatmap-cell.level-3 {
    background-color: #30a14e;
}

#qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 256px;
}

#qrcode canvas,
#qrcode img {
    max-width: 100%;
    height: auto;
}

.modal.show {
    background-color: rgba(0, 0, 0, 0.5);
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.skill-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skill-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.skill-card.skill-completed {
    border-color: #198754;
    background-color: #f8fff9;
}

.skill-card-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #333;
}

.skill-card-indicators {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 0.85rem;
}

.skill-card-indicators .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.badge {
    font-weight: 500;
}

@media (max-width: 768px) {
    .skills-table {
        font-size: 0.8rem;
    }
    
    .skills-table th,
    .skills-table td {
        padding: 0.25rem;
    }
    
    .btn-group {
        flex-wrap: wrap;
    }
    
    .btn-group > .btn {
        font-size: 0.85rem;
    }
}

.modal-body .btn-group {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-body .btn-group .btn {
    flex: 1;
    white-space: nowrap;
}

.modal-body .btn-check:checked + .btn {
    font-weight: 600;
}

.modal-body .btn-check:checked + .btn-outline-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.modal-body .btn-check:checked + .btn-outline-info {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
    color: #000;
}

.modal-body .btn-check:checked + .btn-outline-success {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}

.modal-body .btn-check:checked + .btn-outline-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.dashboard-name {
    color: #333;
    font-weight: 600;
    border-bottom: 3px solid #0d6efd;
    padding-bottom: 0.5rem;
}

.category-header {
    cursor: pointer;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.category-header:hover {
    background-color: #e9ecef;
}

.category-skills-list {
    padding: 1rem;
    background-color: #fafbfc;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.skill-list-item {
    padding: 0.5rem;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.priority-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.priority-indicator.priority-high {
    background-color: #dc3545;
}

.priority-indicator.priority-medium {
    background-color: #ffc107;
}

.priority-indicator.priority-low {
    background-color: #0dcaf0;
}

.badge-priority {
    font-size: 0.75rem;
    font-weight: 600;
}

.toast-container {
    z-index: 9999;
}

.toast {
    min-width: 300px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.toast.show {
    opacity: 1;
}

.toast-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-header.bg-success,
.toast-header.bg-danger,
.toast-header.bg-info {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-body {
    padding: 0.75rem;
    background-color: white;
}
