/* Modern Cart Styles */

/* Cart Items */
#order-standard_cart .product-info{
    background-color: white;
}

#order-standard_cart .field, #order-standard_cart .form-control{
    border-radius: 14px;
}

.modern-cart-items {
    margin: 20px 0;
}

.modern-cart-item {
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.modern-cart-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.modern-cart-addon {
    background: #f8f9fa;
    margin-left: 20px;
    border-left: 3px solid #17a2b8;
}

.item-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2a3a;
}

.item-title i {
    margin-right: 8px;
    color: #2d7b8f;
}

.item-badge {
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.item-actions {
    margin-left: auto;
}

.item-actions .edit-btn {
    color: #2d7b8f;
    padding: 4px 8px;
    font-size: 13px;
}

.item-actions .remove-btn {
    color: #dc3545;
    padding: 4px 8px;
    font-size: 13px;
}

.item-domain {
    margin-top: 8px;
    color: #6c757d;
    font-size: 14px;
}

.item-domain i {
    margin-right: 6px;
    color: #2d7b8f;
}

.item-configoptions {
    margin-top: 8px;
}

.config-option {
    display: inline-block;
    background: #f1f3f5;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 13px;
    margin: 3px 4px 3px 0;
}

.config-option i {
    color: #6c757d;
    margin-right: 4px;
}

/* Price Section */
.item-price {
    padding-top: 5px;
}

.price-main {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3a;
}

.price-cycle {
    font-size: 14px;
    color: #6c757d;
}

.price-setup {
    font-size: 13px;
    color: #6c757d;
}

.price-renewal {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

.price-prorata {
    font-size: 12px;
    color: #6c757d;
}

/* Qty Input */
.qty-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qty-input {
    width: 80px;
    border-radius: 6px;
    border: 1px solid #ced4da;
}

.btn-update {
    font-size: 12px;
    padding: 4px 12px;
    background: #f1f3f5;
    border: none;
    color: #495057;
}

.btn-update:hover {
    background: #e9ecef;
}

/* Support Section */
.support-section {
    margin-top: 30px;
}

.support-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px 25px;
    border: 1px solid #e8ecf1;
}

.support-box h5 {
    color: #1a2a3a;
    font-weight: 600;
}

.support-box h5 i {
    color: #2d7b8f;
    margin-right: 8px;
}

.support-box p {
    margin-bottom: 0;
    color: #6c757d;
}

.support-box a {
    color: #2d7b8f;
    font-weight: 500;
}

/* Modern Order Summary */
.modern-order-summary {
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.summary-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f5;
}

.summary-title i {
    color: #2d7b8f;
    margin-right: 10px;
}

.summary-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.product-name {
    font-weight: 500;
    color: #1a2a3a;
}

.product-meta .badge {
    font-size: 11px;
    padding: 2px 10px;
}

.product-price {
    font-weight: 600;
    color: #1a2a3a;
}

.summary-domain {
    color: #6c757d;
    font-size: 14px;
    padding: 4px 0 10px 0;
}

.summary-domain i {
    color: #2d7b8f;
    margin-right: 6px;
}

/* Total Due Today */
.total-due-today {
    background: #e6f5ff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.total-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.total-amount {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a3a;
    margin-top: 4px;
}

/* Checkout Actions */
.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    background: #28a745;
    border: none;
}

.btn-checkout:hover {
    background: #218838;
}

.btn-continue-shopping {
    color: #6c757d;
    font-size: 14px;
}

/* Empty Cart */
.view-cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.view-cart-empty i {
    color: #dee2e6;
    margin-bottom: 15px;
}

.view-cart-empty p {
    font-size: 18px;
    color: #6c757d;
}

#order-standard_cart .view-cart-items-header {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

#order-standard_cart .order-summary {
    border-radius: 14px;
}

.btn-checkout {
    background-color: #3d61f2 !important;
    border: none;
    border-radius: 14px;
}

#order-standard_cart .order-summary {
    background-color: #ffff;
    border-bottom: none;
}

#order-standard_cart .summary-container {
    background-color: #ffff;
    border-radius: 14px;
}

.summary-title i {
    color: black;
}

#order-standard_cart .order-summary h2 {
    color: black;
}

/* Responsive */
@media (max-width: 768px) {
    .item-actions {
        margin-left: 0;
        width: 100%;
    }

    .item-title {
        font-size: 16px;
    }

    .price-main {
        font-size: 17px;
    }

    .qty-wrapper {
        flex-direction: row;
        margin-top: 10px;
    }

    .modern-cart-addon {
        margin-left: 0;
    }

    .summary-title {
        font-size: 17px;
    }

    .total-amount {
        font-size: 22px;
    }
}