/* ==========================================================================
KingEzePrintingHub — Templates Page Custom Styles (css/templates.css)
========================================================================== */

/* Subtle dot-grid background matching Framer canvas aesthetic */
body {
background-color: #f9f9fb;
background-image: radial-gradient(#d8d8e0 1px, transparent 1px);
background-size: 18px 18px;
color: #111827;
-webkit-font-smoothing: antialiased;
}

/* Smooth sidebar collapse transitions on desktop */
.sidebar-transition {
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #d1d5db;
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: #9ca3af;
}

/* Card hover lift */
.template-card {
transition: transform 0.22s ease,
box-shadow 0.22s ease,
border-color 0.22s ease;
}
.template-card:hover {
transform: translateY(-4px);
box-shadow: 0 14px 30px -10px rgba(17, 24, 39, 0.1);
border-color: #9ca3af;
}

/* Modal & Toast animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(8px) scale(0.98);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.animate-fade-in {
animation: fadeIn 0.2s ease-out forwards;
}