/* Glassmorphism & Neomorphism Styles */

:root {
    --glass-bg: rgba(24, 24, 27, 0.7);
    --glass-border: rgba(39, 39, 42, 0.5);
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark Neomorphism Button - Subtle */
.neo-btn {
    background: #18181b;
    border: 1px solid #27272a;
    box-shadow: 2px 2px 5px #000, -1px -1px 2px #3f3f46;
    transition: all 0.2s ease;
}

.neo-btn:active {
    box-shadow: inset 2px 2px 5px #000, inset -1px -1px 2px #3f3f46;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #09090b;
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

@keyframes pulseFast {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}
.animate-pulse-fast { animation: pulseFast 0.8s ease-in-out infinite; }

#splash-screen.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

/* Pagination Controls */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem;
}

.pagination-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: #18181b;
    border: 1px solid #27272a;
    color: #a1a1aa;
    font-weight: bold;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #27272a;
    color: #ffffff;
    border-color: #3f3f46;
}

.pagination-btn.active {
    background: #ffffff;
    color: #09090b;
    border-color: #ffffff;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-limit-select {
    background: #18181b;
    border: 1px solid #27272a;
    color: #a1a1aa;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: bold;
    outline: none;
    cursor: pointer;
}

.pagination-limit-select:focus {
    border-color: #ffffff;
    color: #ffffff;
}

/* Input Styles */
input, select, textarea {
    background: #09090b !important;
    border: 1px border #27272a !important;
    transition: border-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #71717a !important;
}

/* Tags Styles */
.tag-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e4e4e7;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Off-canvas Sidebar for Dashboard */
.sidebar-offcanvas {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #09090b;
    border-right: 1px solid #27272a;
    z-index: 100;
    transition: left 0.3s ease;
}

.sidebar-offcanvas.open {
    left: 0;
}

/* Password Toggle */
.password-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #52525b;
    transition: color 0.2s;
    background: transparent;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    display: flex;
    items-center: center;
    z-index: 10;
}

.password-toggle-btn:hover {
    color: #ffffff;
}

.password-container {
    position: relative;
}

