/* Tambahkan style ini di akhir file CSS */

/* Items Container */
#itemsContainer {
    margin-bottom: 15px;
}

.item-row {
    display: grid;
    grid-template-columns: 30px 1fr 80px 120px 120px auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
}

.item-row input, .item-row textarea {
    margin: 0;
    padding: 8px;
    font-size: 14px;
}

.item-number {
    text-align: center;
    font-weight: bold;
    color: #495057;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-remove:hover {
    background: #c82333;
}

.btn-secondary {
    background: #6c757d !important;
    width: auto !important;
    padding: 10px 20px !important;
    margin-top: 0 !important;
}

.btn-secondary:hover {
    background: #545b62 !important;
}

/* Tax Section */
.tax-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tax-toggle input[type="checkbox"] {
    width: auto;
}

/* Summary Box */
.summary-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-row.total {
    font-size: 18px;
    font-weight: bold;
    color: #2b2d42;
    border-bottom: none;
    border-top: 2px solid #4361ee;
    margin-top: 5px;
    padding-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .item-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .item-number {
        grid-column: 1;
        text-align: left;
    }
    
    .btn-remove {
        grid-column: 1;
        justify-self: start;
    }
}

/* Tambahkan di akhir file CSS */

/* Tombol Danger */
.btn-danger {
    background: #dc3545 !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    width: auto !important;
    margin-top: 0 !important;
    transition: all 0.3s !important;
}

.btn-danger:hover {
    background: #c82333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
}