﻿/* سایه نئومورفیسم عمومی */
.shadow-neumorphism {
    box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
    background-color: #f0f0f3;
}

/* دکمه خرید */
.btn-neu {
    background-color: #f0f0f3;
    box-shadow: 6px 6px 12px #d1d9e6, -6px -6px 12px #ffffff;
    color: #1F7D53;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease-in-out;
}

    .btn-neu:hover {
        box-shadow: 4px 4px 8px #d1d9e6, -4px -4px 8px #ffffff;
        transform: translateY(-2px);
    }

    .btn-neu:active {
        box-shadow: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;
        transform: translateY(0px);
    }

/* دکمه غیرفعال */
.btn-disabled {
    background-color: #f0f0f3;
    color: #aaa;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 1.5rem;
    box-shadow: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;
    cursor: not-allowed;
}

/* دکمه قلب */
.heart-btn {
    background-color: #f0f0f3;
    box-shadow: 6px 6px 12px #d1d9e6, -6px -6px 12px #ffffff;
    color: #e91e63;
    padding: 1rem 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

    .heart-btn:hover {
        box-shadow: 4px 4px 8px #d1d9e6, -4px -4px 8px #ffffff;
        transform: translateY(-2px);
    }

    .heart-btn.active {
        background-color: #e91e63;
        color: white;
        box-shadow: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;
    }



.glass-input {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 14px;
    outline: none;
    font-weight: 500;
    font-size: 18px !important; /* بزرگ‌تر و اجباری */
    background: #ffffff;
    color: #222;
    box-shadow: inset 4px 4px 8px rgba(0,0,0,0.12), inset -4px -4px 8px rgba(255,255,255,0.9);
    transition: all 0.25s ease;
}

    .glass-input:focus {
        background: #ffffff;
        font-size: 1.05rem;
        box-shadow: 4px 4px 8px rgba(0,0,0,0.1), -4px -4px 8px rgba(255,255,255,0.8);
        transform: translateY(-2px);
    }

    .glass-input::placeholder {
        color: #aaa;
        font-size: 1.05rem; /* فونت بزرگ‌تر برای placeholder */
        letter-spacing: 0.3px;
        transition: color 0.3s ease;
    }

    .glass-input:focus::placeholder {
        color: transparent;
    }

.glass-container {
    margin-bottom: 20px;
}



.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
    background: #ffffff; /* سفید خالص */
    box-shadow: 8px 8px 16px #bebebe, -8px -8px 16px #ffffff;
    overflow: hidden;
    font-size: 16px; /* فونت بزرگ و خوانا */
    color: #333;
}

    .table thead tr {
        background: #f9f9f9;
        color: #333;
        font-size: 17px;
        font-weight: 600;
        text-align: center;
        box-shadow: inset 3px 3px 6px rgba(0,0,0,0.1), inset -3px -3px 6px rgba(255,255,255,0.8);
    }

    .table th, .table td {
        padding: 16px 20px;
        text-align: center;
        font-size: 16px; /* فونت بزرگتر سلول‌ها */
        border-bottom: 1px solid #e0e0e0;
    }

    .table tbody tr {
        transition: all 0.3s ease;
        background: #ffffff;
    }

        /* افکت hover */
        .table tbody tr:hover {
            background: #f2f2f2;
            box-shadow: inset 4px 4px 8px rgba(0,0,0,0.08), inset -4px -4px 8px rgba(255,255,255,0.8);
            transform: scale(1.01);
        }

/* وضعیت‌ها */
.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-radius: 10px;
    padding: 5px 10px;
    font-weight: 500;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-radius: 10px;
    padding: 5px 10px;
    font-weight: 500;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-radius: 10px;
    padding: 5px 10px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-radius: 10px;
    padding: 5px 10px;
    font-weight: 500;
}

/* دکمه‌ها */
/* دکمه‌ها */
.btn {
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 15px;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 4px 4px 8px #bebebe, -4px -4px 8px #ffffff;
    transition: all 0.3s ease;
}

    .btn:hover {
        box-shadow: inset 4px 4px 8px #bebebe, inset -4px -4px 8px #ffffff;
    }

.btn-primary {
    color: #007bff;
}

.btn-info {
    color: #17a2b8;
}

.btn-warning {
    color: #ffc107;
}

.btn-danger {
    color: #dc3545;
}

/* تصاویر محصولات */
.table img {
    border-radius: 12px;
    box-shadow: 4px 4px 8px #bebebe, -4px -4px 8px #ffffff;
    transition: all 0.3s ease;
}

    .table img:hover {
        box-shadow: inset 4px 4px 8px #bebebe, inset -4px -4px 8px #ffffff;
        transform: scale(1.05);
    }

/* قیمت و تخفیف */
.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-weight: 500;
}

.price-old {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
}

.price-new {
    color: #28a745;
    font-size: 16px;
    font-weight: 600;
}

.saving {
    color: #dc3545;
    font-size: 14px;
    font-weight: 500;
}
/* صفحه‌بندی */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 10px;
}

    .pagination button {
        border: none;
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 4px 4px 8px #bebebe, -4px -4px 8px #ffffff;
        padding: 8px 14px;
        font-size: 16px; /* فونت بزرگ‌تر */
        transition: all 0.3s ease;
    }

        .pagination button:hover {
            box-shadow: inset 4px 4px 8px #bebebe, inset -4px -4px 8px #ffffff;
        }

.active-page {
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    color: #007bff;
    font-weight: bold;
    box-shadow: inset 3px 3px 6px #c5c5c5, inset -3px -3px 6px #ffffff;
}
