/*
 * Yealink Telefoonboek Manager - Custom CSS
 * Aanvullend op Tailwind CSS (via CDN)
 */

/* Smooth transitions voor tabel rijen */
tbody tr {
    transition: background-color 0.15s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Focus stijl verbetering */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* Checkbox styling */
input[type="checkbox"] {
    cursor: pointer;
}

/* Print stijlen */
@media print {
    nav, .no-print, footer, #bulk-actions {
        display: none !important;
    }

    body {
        background: white !important;
    }

    .shadow-sm, .shadow-xl {
        box-shadow: none !important;
    }

    table {
        font-size: 10pt;
    }
}

/* Animatie voor flash messages */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[role="alert"] {
    animation: slideDown 0.3s ease-out;
}

/* Monospace nummers */
.font-mono {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

/* Drag & drop zone actief */
#drop-zone.dragover {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
}
