/* 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;
}
#order-standard_cart .field, #order-standard_cart .form-control.custom-select{
    border-radius: 14px;
    width: 100%;
}

.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;
	flex-direction:column;
    flex-wrap: wrap;
    gap: 10px;
}
.item-header .badge-width{
	max-width:fit-content;
}
.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 .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 */
.product-pricing {
    margin-top: 18px;
}

.price-label {
    font-size: 16px;
    color: #7b8494;
    margin-bottom: 10px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.price-row .price-amount,
.price-row .price-cycle {
    color: #3d61f2;
    font-weight: 600;
}

.price-row .price-amount {
    font-size: 52px;
    line-height: 1;
}

.price-row .price-cycle {
    font-size: 22px;
    line-height: 1;
}

.price-setup {
    margin-top: 10px;
    color: #7b8494;
    font-size: 14px;
}
.item-price {
    padding-top: 5px;
}

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

.price-cycle {
    font-size: 14px;
    color: #3d61f2;
    font-weight: 600;
}

/* .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;
    border: none;
    background: #2a44d1;
	color:#ffff;
}

.btn-update:hover {
    background: #2a44d1;
	color:#ffff;
}


/* 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;
}
.promo-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 1.5px solid #e8ecf1;
    border-radius: 14px;
    padding: 6px;
    flex-wrap: nowrap;
}

.promo-input-group:focus-within {
    border-color: #3d61f2;
    box-shadow: 0 0 0 3px rgba(61, 97, 242, 0.12);
    background: #fff;
}
.promo-icon {
    color: #3d61f2;
    font-size: 15px;
    margin-right: 10px;
    flex-shrink: 0;
}
.promo-input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 6px 0;
    font-size: 14px;
    color: #1a2a3a;
    flex: 1;
    height: auto;
}

.promo-input::placeholder {
    color: #adb5bd;
}

.promo-input:focus {
    outline: none;
    box-shadow: none !important;
}
.promo-submit-btn {
    background: #3d61f2;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.1s ease;
}

.promo-submit-btn:hover {
    background: #2a44d1;
    transform: translateY(-1px);
}
@media (max-width: 767px) {

    .promo-input-group {
        flex-wrap: wrap;
        padding: 12px;
    }

    .promo-icon {
        margin-left: 0;
    }

    .promo-input {
        width: 100%;
        flex: 1 1 100%;
        order: 1;
    }

    .promo-submit-btn {
        width: 100%;
        order: 2;
        margin-top: 10px;
    }

    .promo-input::placeholder {
        font-size: 14px;
    }
}

/* 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: 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;
}
#order-standard_cart .view-cart-items .item-qty input{
	border-radius:14px;
}
/* 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;
    margin-top: 20px;
}

#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;
}
#order-standard_cart .empty-cart .btn{
    background-color:#dc2626 !important;
}
#order-standard_cart .empty-cart .btn:hover{
    background-color:#bd2130 !important;
}


#order-standard_cart .view-cart-items{
    border-bottom: 2px solid #2a44d1 !important;
}

/* 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;
    }
}

/* Checkout Page */
/* ============================================
   CLEAN CHECKOUT PAGE STYLES
   ============================================ */

/* Header */
.checkout-header {
    margin-bottom: 30px;
}

.checkout-header h1 {
    color: #1a2a3a;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 5px;
}

.checkout-subtitle {
    font-size: 15px;
    color: #6c757d;
    margin-top: 4px;
}

/* Account Toggle */
.account-toggle {
    text-align: right;
    margin-bottom: 20px;
}

.toggle-link {
    color: #3d61f2;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}

.toggle-link:hover {
    background: #f0f4ff;
    text-decoration: none;
    color: #2a44d1;
}

.toggle-link i {
    margin-right: 6px;
}

/* Checkout Sections */
.checkout-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 20px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.checkout-section:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.section-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f3f5;
}

.section-title i {
    color: #3d61f2;
    margin-right: 10px;
    width: 22px;
    text-align: center;
}

/* Account Select List */
.account-select-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-option {
    padding: 10px 16px;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.account-option:hover {
    border-color: #3d61f2;
    background: #f8faff;
}

.account-option.selected {
    border-color: #3d61f2;
    background: #f0f4ff;
    box-shadow: 0 0 0 2px rgba(61, 97, 242, 0.12);
}

.account-option label {
    width: 100%;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
}

.account-option input[type="radio"] {
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.account-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-name {
    font-weight: 500;
    font-size: 15px;
    color: #1a2a3a;
}

.account-name i {
    margin-right: 6px;
}

.account-country {
    font-size: 13px;
    color: #6c757d;
}

.account-option.new-account {
    border-style: dashed;
    background: #fafbfc;
}

.account-option.new-account:hover {
    background: #f5f7fa;
}

/* Form Controls */
.checkout-section .form-group {
    margin-bottom: 16px;
}

.checkout-section .form-group label {
    font-weight: 500;
    font-size: 13px;
    color: #1a2a3a;
    margin-bottom: 4px;
    display: block;
}

.checkout-section .form-control {
    border-radius: 8px !important;
    border: 1px solid #ced4da;
    padding: 9px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: 42px;
    font-size: 14px;
}

.checkout-section .form-control:focus {
    border-color: #3d61f2;
    box-shadow: 0 0 0 3px rgba(61, 97, 242, 0.12);
}

.checkout-section .input-group-text {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    color: #6c757d;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
}

.checkout-section .input-group .form-control {
    border-radius: 0 8px 8px 0;
}

.checkout-section textarea.form-control {
    height: auto;
    min-height: 100px;
}

/* Total Due Box */
.total-due-box {
    background: linear-gradient(135deg, #3d61f2, #2a44d1);
    border-radius: 10px;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.total-due-label {
    font-size: 15px;
    font-weight: 400;
    opacity: 0.9;
}

.total-due-amount {
    font-size: 28px;
    font-weight: 700;
}

/* Credit Balance */
.credit-balance-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 18px;
    border: 1px solid #e8ecf1;
}

.credit-balance-box > i {
    color: #3d61f2;
    margin-right: 8px;
}

.credit-options {
    margin-top: 8px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.credit-options label {
    font-weight: 400;
    cursor: pointer;
    margin: 0;
}

.credit-options input[type="radio"] {
    margin-right: 6px;
}

/* Payment Methods */
.payment-methods-section {
    margin-top: 4px;
}

.payment-methods-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 12px;
}

.payment-methods-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.payment-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 2px solid #e8ecf1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    margin: 0;
}

.payment-option:hover {
    border-color: #3d61f2;
    background: #f8faff;
}

.payment-option:has(input:checked) {
    border-color: #3d61f2;
    background: #f0f4ff;
    box-shadow: 0 0 0 2px rgba(61, 97, 242, 0.12);
}

.payment-option input[type="radio"] {
    margin: 0;
    flex-shrink: 0;
}

.payment-option-name {
    font-weight: 500;
    font-size: 14px;
    color: #1a2a3a;
}

/* Credit Card */
.cc-input-container {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid #e8ecf1;
}

.card-options-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 15px 0;
}

.card-options-list li {
    padding: 6px 0;
}

.card-options-list label {
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

.card-options-list input[type="radio"] {
    margin-right: 8px;
}

/* Checkout Actions */
.checkout-actions {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 28px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-top: 20px;
}

.complete-order-btn {
    padding: 14px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 10px;
    background: #314fdd;
    border: none;
    transition: all 0.3s ease;
    color: #fff;
}

.complete-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 152, 225, 0.3);
    color: #fff;
}
.btn-success:hover{
    background-color: #2a44d1;
}

.complete-order-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.complete-order-btn i {
    margin-right: 8px;
}

/* Security Message */
.checkout-security-msg {
    border-radius: 10px;
    padding: 14px 20px;
    margin-top: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.checkout-security-msg i {
    margin-right: 8px;
}

/* Error Feedback */
.alert-danger {
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.alert-danger ul {
    padding-left: 20px;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-header h1 {
        font-size: 22px;
    }
    
    .checkout-section {
        padding: 18px 16px;
    }
    
    .section-title {
        font-size: 15px;
    }
    
    .total-due-amount {
        font-size: 22px;
    }
    
    .total-due-box {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-methods-list {
        flex-direction: column;
    }
    
    .payment-option {
        width: 100%;
    }
    
    .credit-options {
        flex-direction: column;
        gap: 6px;
    }
    
    .account-toggle {
        text-align: center;
    }
    
    .checkout-actions {
        padding: 18px 16px;
    }
}

@media (max-width: 576px) {
    .checkout-section {
        padding: 14px 12px;
    }
    
    .total-due-amount {
        font-size: 20px;
    }
    
    .complete-order-btn {
        font-size: 15px;
        padding: 12px;
    }
    
    .account-option {
        padding: 8px 12px;
    }
}
/* Modal Backdrop */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-backdrop.fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    opacity: 1;
}

/* Modern Modal Container */
.modern-modal .modal-dialog {
    max-width: 480px;
    margin: 1.75rem auto;
}

.modern-modal .modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

/* Modal Content */
.modern-modal-content {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    animation: modalSlideIn 0.35s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header */
.modern-modal-header {
    position: relative;
    padding: 32px 32px 0 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}

.modal-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 8px;
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.modal-icon-wrapper.danger {
    background: #fee2e2;
    color: #dc2626;
}

.modal-icon-wrapper.warning {
    background: #fef3c7;
    color: #d97706;
}

.modal-icon-wrapper.success {
    background: #d1fae5;
    color: #059669;
}

.modal-icon-wrapper.info {
    background: #dbeafe;
    color: #2563eb;
}

/* Close Button */
.modern-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #8a94a6;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 4px 8px;
    border-radius: 8px;
    line-height: 1;
}

.modern-modal-close:hover {
    color: #1d2433;
    background: #f1f3f5;
    transform: rotate(90deg);
}

/* Modal Body */
.modern-modal-body {
    padding: 0 32px 32px 32px;
    text-align: center;
}

.modern-modal-title {
    font-family: 'Sen', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1d2433;
    margin: 8px 0 12px 0;
}

.modern-modal-title i {
    margin-right: 8px;
}

.modern-modal-text {
    font-family: 'Sen', sans-serif;
    font-size: 16px;
    color: #4a5a6a;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.modern-modal-text i {
    color: #f59e0b;
    margin-right: 8px;
}

/* Divider */
.modern-modal-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e8ecf1, transparent);
    margin: 0 0 24px 0;
}

/* Modal Actions */
.modern-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.modern-btn-cancel {
    padding: 10px 28px;
    border-radius: 12px;
    font-family: 'Sen', sans-serif;
    font-size: 14px;
    font-weight: 600;
    background: #f1f3f5;
    color: #4a5a6a;
    border: 1px solid #e8ecf1;
    transition: all 0.3s ease;
    min-width: 120px;
}

.modern-btn-cancel:hover {
    background: #e8ecf1;
    color: #1d2433;
    transform: translateY(-2px);
}

.modern-btn-danger {
    padding: 10px 28px;
    border-radius: 12px;
    font-family: 'Sen', sans-serif;
    font-size: 14px;
    font-weight: 600;
    background: #dc2626;
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.modern-btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
    color: #ffffff;
}

.modern-btn-danger i {
    margin-right: 6px;
}