/* Container */
.dion-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

/* Tabs */
.dion-tab-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.dion-tab-menu li.dion-tab {
    padding: 8px 16px;
    background-color: #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.dion-tab-menu li.dion-tab.active {
    background-color:#1eb600;
    color: #fff;
}

/* Tab content grid */
.dion-tab-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

/* Card */
.dion-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    background-color: #ffffff;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Icon */
.dion-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
    object-fit: contain;
}

/* Item name */
.dion-item-name {
    font-size: 14px;
    font-weight: 600;
    margin: 4px 0;
}

/* Volume */
.dion-item-vol {
    font-size: 12px;
    color: #555;
    margin-bottom: 8px;
}

/* Quantity input */
.dion-item-qty {
    width: 60px;
    padding: 4px;
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Summary panel */
.dion-summary {
    flex: 1 1 220px;
    min-width: 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    background-color: #fefefe;
    height: fit-content;
}

.dion-summary h3 {
    margin-top: 0;
    font-size: 16px;
}

.dion-total-box {
    font-size: 16px;
    font-weight: bold;
    background-color: #1eb600;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* Customer inputs */
.dion-summary input[type="text"],
.dion-summary input[type="email"] {
    width: 100%;
    padding: 6px 8px;
    margin-bottom: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Send button */
.dion-send-btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background-color: #1eb600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dion-send-btn:hover {
    background-color: #1beb00;
}

/* Responsive */
@media (max-width: 768px) {
    .dion-container {
        flex-direction: column;
    }

    .dion-summary {
        width: 100%;
    }
}
