/* PDF2Word — stiluri custom peste TailwindCSS */

/* Scrollbar custom pentru dark mode */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

/* Animație toast slide-in */
@keyframes toast-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes toast-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-enter {
    animation: toast-in 0.3s ease-out;
}
.toast-exit {
    animation: toast-out 0.3s ease-in forwards;
}

/* Drag & drop highlight */
.drop-active {
    border-color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.05) !important;
}

/* Sidebar background blur on mobile overlay */
@supports (backdrop-filter: blur(4px)) {
    .sidebar-overlay {
        backdrop-filter: blur(4px);
    }
}

/* Table zebra striping (subtle) */
tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.01);
}
.dark tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.01);
}

/* Loading spinner animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}

/* Smooth page transitions */
main {
    animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Print styles: hide sidebar */
@media print {
    aside, header, #toast-container { display: none !important; }
    main { padding: 0 !important; }
}
