/* AgroMart - Shared Styles */
* {
    font-family: 'Inter', sans-serif;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f0fdf4;
}

::-webkit-scrollbar-thumb {
    background: #86efac;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #22c55e;
}

/* Animations */
.modal-overlay {
    animation: fadeIn 0.2s ease;
}

.modal-content {
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideOutRight {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

.cart-slide-in {
    animation: slideInRight 0.3s ease forwards;
}

.cart-slide-out {
    animation: slideOutRight 0.3s ease forwards;
}

.toast-animate {
    animation: toastIn 0.4s ease, toastOut 0.4s ease 2.6s forwards;
}

@keyframes toastIn {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes toastOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Component Styles */
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(22, 163, 74, 0.15);
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.12);
}

.hero-bg {
    background: linear-gradient(135deg, #14532d 0%, #166534 30%, #15803d 60%, #22c55e 100%);
}

.admin-sidebar-link {
    transition: all 0.2s;
}

.admin-sidebar-link:hover,
.admin-sidebar-link.active {
    background: rgba(255, 255, 255, 0.15);
}

.stat-card {
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.table-row:hover {
    background: #f0fdf4;
}

input[type="file"] {
    display: none;
}

/* Profile Menu */
#profileMenu {
    animation: slideUp 0.2s ease;
}

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