
    .admin-bar {
        margin: 20px 0;
        padding: 15px;
        background: #f5f5f5;
        border-radius: 10px;
    }

    .filters-bar {
        display: flex;
        gap: 10px;
        margin: 20px 0;
        flex-wrap: wrap;
    }

    .filters-bar select,
    .filters-bar input {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 14px;
    }

    .filters-bar select {
        min-width: 150px;
    }

    .filters-bar input {
        flex: 1;
        min-width: 200px;
    }
.items-crud-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px;
    
}
.item-card img {
    width: 10%;
    
 
 


}
    @media (max-width: 768px) {
    .items-crud-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
    .item-card {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        cursor: pointer;
        background: white;
        /*
        border: 1px solid #ddd;
        border-radius: 10px;
        */
        overflow: hidden;
        transition: all 0.3s;
        position: relative;
        display: flex;
        flex-direction: column;
  
         
    }

    .item-card:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

    .item-card.inactive {
        opacity: 0.6;
        background: #f9f9f9;
    }

    .item-image {
        width: 100%;
        height: 250px;
        overflow: hidden;
        position: relative;
    }

    .item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .item-card:hover .item-image img {
        transform: scale(1.05);
    }

    .status-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
        font-weight: bold;
        z-index: 1;
        background: rgba(0,0,0,0.7);
        color: white;
    }

    .status-badge.active {
        background: rgba(39, 174, 96, 0.9);
    }

    .status-badge.inactive {
        background: rgba(149, 165, 166, 0.9);
    }

    .item-info {
        padding: 15px;
        flex: 1;
    }

    .item-info h3 {
        margin-bottom: 8px;
        font-size: 18px;
        color: #2c3e50;
        font-weight: 600;
    }

    .item-number {
        font-size: 12px;
        color: #999;
        margin-bottom: 8px;
    }

    .item-price {
        font-size: 20px;
        font-weight: bold;
        color: #e67e22;
        margin-bottom: 8px;
    }

    .item-category {
        font-size: 13px;
        color: #666;
        margin-bottom: 8px;
        display: inline-block;
        background: #f0f0f0;
        padding: 2px 8px;
        border-radius: 3px;
    }

    .item-description {
        font-size: 13px;
        color: #777;
        line-height: 1.4;
        margin-top: 10px;
    }

    .item-actions {
        display: flex;
        border-top: 1px solid #eee;
        background: #fafafa;
    }

    .item-actions button {
        flex: 1;
        padding: 12px;
        border: none;
        background: none;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.3s;
        border-right: 1px solid #eee;
    }

    .item-actions button:last-child {
        border-right: none;
    }

    .item-actions button:hover {
        background: #e67e22;
        color: white;
    }

    .item-actions button.delete:hover {
        background: #e74c3c;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        overflow-y: auto;
    }

    .modal-content {
        background-color: white;
        margin: 50px auto;
        padding: 0;
        border-radius: 10px;
        width: 90%;
        max-width: 600px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        animation: slideDown 0.3s ease;
    }

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

    .modal-header {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .modal-header h2 {
        margin: 0;
        font-size: 20px;
        color: #2c3e50;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-actions {
        padding: 15px 20px;
        border-top: 1px solid #eee;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    .close {
        font-size: 28px;
        font-weight: bold;
        color: #999;
        cursor: pointer;
    }

    .close:hover {
        color: #333;
    }

    .form-group {
        margin-bottom: 15px;
        padding: 0 20px;
    }

    .form-row {
        display: flex;
        gap: 15px;
        padding: 0 20px;
    }

    .form-group.half {
        flex: 1;
        padding: 0;
    }

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        color: #2c3e50;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 14px;
    }

    .form-group small {
        display: block;
        margin-top: 5px;
        color: #999;
        font-size: 12px;
    }

    .btn {
        padding: 8px 16px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s;
    }

    .btn-primary {
        background: #e67e22;
        color: white;
    }

    .btn-primary:hover {
        background: #d35400;
    }

    .btn-secondary {
        background: #95a5a6;
        color: white;
    }

    .btn-secondary:hover {
        background: #7f8c8d;
    }

    .btn-danger {
        background: #e74c3c;
        color: white;
    }

    .btn-danger:hover {
        background: #c0392b;
    }

    .warning-text {
        color: #e74c3c;
        font-size: 14px;
        margin-top: 5px;
    }

    .message {
        padding: 12px 20px;
        border-radius: 5px;
        margin: 20px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        animation: fadeIn 0.3s ease;
    }

    .message.success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .message.error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

    .message .close-msg {
        cursor: pointer;
        font-size: 20px;
        font-weight: bold;
    }

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

    .empty-state {
        text-align: center;
        padding: 50px;
        background: #f9f9f9;
        border-radius: 10px;
        color: #666;
        grid-column: 1 / -1;
    }

    @media (max-width: 768px) {
        .filters-bar {
            flex-direction: column;
        }

        .filters-bar select,
        .filters-bar input {
            width: 100%;
        }

        .form-row {
            flex-direction: column;
            gap: 15px;
        }

        .item-image {
            height: 200px;
        }
    }