/**
 * My Account Styles - 2 Column Layout
 * 
 * @package vPlugin Checkout On Page
 */

/* Main My Account Wrapper */
.vplugin-my-account-wrapper {
  
    position: relative;
}

.vplugin-my-account-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}

/* Left Sidebar - Menu Navigation */
.vplugin-my-account-nav {
    position: -webkit-sticky;
    position: sticky;
    width: 25%;
    min-width: 250px;
    max-width: 300px;
    flex-shrink: 0;
    top: 20px;
    align-self: flex-start;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    z-index: 10;
}

.vplugin-my-account-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.vplugin-menu-item {
    margin-bottom: 10px !important;
    padding: 0;
    margin-left: 0px !important;
    
}

.vplugin-menu-item:last-child {
    border-bottom: none;
}

.vplugin-menu-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.vplugin-menu-link:hover {
    background: #f8f9fa;
    color: #171717;
}

.vplugin-menu-item.active .vplugin-menu-link {
    background: var(--vplugin-color-primary, #333333);
    color: #fff;
}

/* Icon filter: White on hover and active - only if icon doesn't have data-icon-hover */
.vplugin-menu-item:hover .vplugin-menu-icon:not([data-icon-hover])::before,
.vplugin-menu-item.active .vplugin-menu-icon:not([data-icon-hover])::before {
    /* filter: brightness(0) invert(1); */
}

/* If icon has custom hover icon, use it instead of filter */
.vplugin-menu-item:hover .vplugin-menu-icon[data-icon-hover],
.vplugin-menu-item.active .vplugin-menu-icon[data-icon-hover] {
    filter: none;
}



/* Icon styling - use inline style from template or fallback to CSS */
.vplugin-menu-icon {
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
}

/* Fallback icons if not set via inline style (legacy support) */
.vplugin-menu-item[data-endpoint="dashboard"] .vplugin-menu-icon:not([style*="background-image"])::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('../img/tai-khoan.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.vplugin-menu-item[data-endpoint="orders"] .vplugin-menu-icon:not([style*="background-image"])::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('../img/lich-su-don-hang.avif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.vplugin-menu-item[data-endpoint="cash-wallet"] .vplugin-menu-icon:not([style*="background-image"])::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('../img/lich-su-cash.avif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.vplugin-menu-item[data-endpoint="edit-address"] .vplugin-menu-icon:not([style*="background-image"])::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('../img/vi-dia-chi.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.vplugin-menu-item[data-endpoint="customer-logout"] .vplugin-menu-icon:not([style*="background-image"])::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('../img/dang-xuat.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.vplugin-menu-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.vplugin-menu-arrow {
    margin-left: auto;
    font-size: 18px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.vplugin-menu-item.active .vplugin-menu-arrow {

    opacity: 1;
}

/* Right Content Area */
.vplugin-my-account-content-wrapper {
    min-height: 400px;
    flex: 1;
    min-width: 0;
}

.vplugin-my-account-content {
    background: #fff;
  
    border-radius: 8px;
    padding: 35px;
}

/* Dashboard Content Styles */
.vplugin-dashboard-content {
    width: 100%;
}

.vplugin-dashboard-section {
    margin-bottom: 40px;
}

.vplugin-dashboard-section:last-child {
    margin-bottom: 0;
}

.vplugin-dashboard-section-title {
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #171717;
}

.vplugin-dashboard-info-list {
    margin-bottom: 20px;
}

.vplugin-dashboard-info-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
 
    gap: 1rem;
}
.vplugin-dashboard-info-item .vplugin-info-label{
    width: 210px;
}

.vplugin-dashboard-info-item:last-child {
    border-bottom: none;
}

.vplugin-info-label {
    font-size: 17px;
    font-weight: 500;
    color: #0000007a;
}

.vplugin-info-value {
    font-size: 17px;
    color: #000000bf;
    text-align: right;
}

.vplugin-dashboard-update-btn {
   
   width: 150px;
    background: transparent;
    border: 1px solid var(--vplugin-color-primary, #3b82f6);
    border-radius: 99px;
    color: var(--vplugin-color-primary, #3b82f6);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    max-height: 45px;
    height: 45px;
}

.vplugin-dashboard-update-btn:hover {
    background: var(--vplugin-color-primary, #3b82f6);
    color: #fff;
}

.vplugin-dashboard-update-btn:active {
    transform: translateY(1px);
}

/* Hide default WooCommerce dashboard content (navigation buttons grid) */
.vplugin-my-account-content .woocommerce-MyAccount-navigation,
.vplugin-my-account-content .woocommerce-MyAccount-content .woocommerce-MyAccount-navigation,
.vplugin-my-account-content .woocommerce-MyAccount-content-wrapper .woocommerce-MyAccount-navigation,
.vplugin-my-account-content .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-MyAccount-navigation {
    display: none !important;
}
div#vplugin-account-content .dashboard-links {
    display: none;
}

/* Edit Account Modal Styles */
.vplugin-edit-account-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vplugin-edit-account-modal {
    display: none !important;
}

.vplugin-edit-account-modal:not([style*="display: none"]) {
    display: flex !important;
}

.vplugin-edit-account-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: auto;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.vplugin-edit-account-modal-content {
    position: relative !important;
    background: #fff !important;
    border-radius: 16px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2 !important;
    margin: 0 !important;
    pointer-events: auto !important;
    animation: slideUpScale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.vplugin-edit-account-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    text-decoration: none;
    outline: none;
}

.vplugin-edit-account-modal-close:hover {
    background: #333;
}

.vplugin-edit-account-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #171717;
    margin: 0 0 24px 0;
    text-align: center;
}

.vplugin-edit-account-form {
    display: flex;
    flex-direction: column;
}

.vplugin-edit-account-form .vplugin-auth-input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.vplugin-edit-account-form .vplugin-auth-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 99px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #fff;
    min-height: 45px !important;
}

.vplugin-edit-account-form .vplugin-auth-input:focus {
    outline: none;
    border-color: #000;
}

.vplugin-edit-account-form .vplugin-auth-input:not(:placeholder-shown) {
    border-color: #000;
}

.vplugin-edit-account-form .vplugin-auth-input:focus ~ .vplugin-auth-label-floating,
.vplugin-edit-account-form .vplugin-auth-input:not(:placeholder-shown) ~ .vplugin-auth-label-floating,
.vplugin-edit-account-form .vplugin-auth-label-floating.vplugin-label-active {
    top: 4px;
    transform: translateY(-50%) scale(0.8);
    color: #737373;
    padding: 0 8px;
}

.vplugin-edit-account-form .vplugin-auth-label-floating {
    position: absolute;
    left: 16px;
    top: 22px;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 400;
    color: #a3a3a3;
    background: #ffffff;
    padding: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 1;
}

.vplugin-edit-account-gender-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.vplugin-edit-account-gender-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.vplugin-edit-account-gender-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.vplugin-gender-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.vplugin-gender-radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--vplugin-color-primary, #3b82f6);
    margin: 0px;
}

.vplugin-edit-account-submit-btn {
    width: 100%;
    padding: 7px 20px;
    background: var(--vplugin-color-primary, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
 
    margin-bottom: 0px;
    margin-right: 0px   ;
    max-height: 45px;
    height: 45px;
    text-transform: uppercase;
}

.vplugin-edit-account-submit-btn:hover {
    background: var(--vplugin-color-primary, #3b82f6);
    opacity: 0.9;
}

.vplugin-edit-account-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Notification Modal */
.vplugin-success-notification-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999999 !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vplugin-success-notification-modal {
    display: none !important;
}

.vplugin-success-notification-modal:not([style*="display: none"]) {
    display: flex !important;
}

.vplugin-success-notification-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: auto;
}

.vplugin-success-notification-modal-content {
    position: relative !important;
    background: #fff !important;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2 !important;
    margin: 0 !important;
    pointer-events: auto !important;
    text-align: center;
}

.vplugin-success-notification-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color 0.2s;
    text-decoration: none;
    outline: none;
}

.vplugin-success-notification-modal-close:hover {
    color: rgba(0, 0, 0, 0.8);
}

.vplugin-success-notification-title {
    font-size: 24px;
    font-weight: 700;
    color: #171717;
    margin: 0 0 12px 0;
}

.vplugin-success-notification-message {
    font-size: 16px;
    color: #666;
    margin: 0 !important;
}

/* Edit Password Modal Styles - Same as Edit Account Modal */
.vplugin-edit-password-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vplugin-edit-password-modal {
    display: none !important;
}

.vplugin-edit-password-modal:not([style*="display: none"]) {
    display: flex !important;
}

.vplugin-edit-password-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: auto;
    animation: fadeIn 0.4s ease-out;
}

.vplugin-edit-password-modal-content {
    position: relative !important;
    background: #fff !important;
    border-radius: 16px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2 !important;
    margin: 0 !important;
    pointer-events: auto !important;
    animation: slideUpScale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.vplugin-edit-password-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    text-decoration: none;
    outline: none;
}

.vplugin-edit-password-modal-close:hover {
    background: #333;
}

.vplugin-edit-password-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #171717;
    margin: 0 0 24px 0;
    text-align: center;
}

.vplugin-edit-password-form {
    display: flex;
    flex-direction: column;
}

.vplugin-edit-password-form .vplugin-auth-input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.vplugin-edit-password-form .vplugin-auth-input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 45px;
    border: 1px solid #e0e0e0;
    border-radius: 99px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #fff;
    min-height: 45px !important;
    box-shadow: none !important;
}

.vplugin-edit-password-form .vplugin-auth-input:focus {
    outline: none;
    border-color: #000;
}

.vplugin-edit-password-form .vplugin-auth-input:not(:placeholder-shown) {
    border-color: #000;
}

.vplugin-edit-password-form .vplugin-auth-input:focus ~ .vplugin-auth-label-floating,
.vplugin-edit-password-form .vplugin-auth-input:not(:placeholder-shown) ~ .vplugin-auth-label-floating,
.vplugin-edit-password-form .vplugin-auth-label-floating.vplugin-label-active {
    top: 4px;
    transform: translateY(-50%) scale(0.8);
    color: #737373;
    padding: 0 8px;
}

.vplugin-edit-password-form .vplugin-auth-label-floating {
    position: absolute;
    left: 16px;
    top: 22px;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 400;
    color: #a3a3a3;
    background: #ffffff;
    padding: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 1;
}

.vplugin-edit-password-form .vplugin-auth-toggle-password {
    position: absolute;
    right: 16px;
    top: 23px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin: 0px;
}

.vplugin-edit-password-form .vplugin-auth-toggle-password svg {
    width: 16px;
    height: 16px;
}

.vplugin-edit-password-submit-btn {
    width: 100%;
    padding: 7px 20px;
    background: var(--vplugin-color-primary, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;

    margin-bottom: 0px;
    margin-right: 0px;
    max-height: 45px;
    height: 45px;
}

.vplugin-edit-password-submit-btn:hover {
    background: #333;
}

.vplugin-edit-password-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile styles for password modal */
@media (max-width: 768px) {
    .vplugin-edit-password-modal {
        align-items: flex-end !important;
    }
    
    .vplugin-edit-password-modal-content {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 90vh !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 24px 20px 32px 20px !important;
        margin: 0 !important;
        animation: slideUpFromBottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: translateY(0) !important;
    }
    
    .vplugin-edit-password-modal-title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .vplugin-edit-password-modal-close {
        top: 16px;
        right: 16px;
    }
}

.vplugin-my-account-content.loading {
    opacity: 0.6;
    position: relative;
    pointer-events: none;
}

.vplugin-my-account-content.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--vplugin-color-primary, #3b82f6);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .vplugin-dashboard-update-btn{
       
    }
    .vplugin-dashboard-info-item .vplugin-info-label{
        width: 150px;
    }
    .vplugin-dashboard-section-title{
        font-size: 24px;
    }
    .vplugin-my-account-content{
        padding: 15px;
    }
    .vplugin-my-account-container {
        display: flex;
        gap: 30px;
        flex-direction: column;
    }
    
    .vplugin-my-account-nav {
        position: relative;
        top: 0;
        width: 100%;
        min-width: 100%;
        overflow: visible;
    }
    
    .vplugin-my-account-menu {
        display: block !important;
        overflow-x: visible;
        overflow-y: visible;
        overflow: visible;
    }
    
    .vplugin-menu-item {
        width: 100%;
        margin-bottom: 10px !important;
        border-bottom: none;
        border-right: none;
        flex-shrink: 1;
    }
    
    .vplugin-menu-item:last-child {
        margin-bottom: 0 !important;
    }
    
    .vplugin-menu-link {
        white-space: normal;
        min-width: auto;
        width: 100%;
        word-wrap: break-word;
        border-radius: 6px !important;
    }
    
    .vplugin-menu-item {
        overflow: visible;
    }
    
    .vplugin-menu-arrow {
        display: none;
    }
}

/* Cash Wallet Section */
.vplugin-cash-wallet {
    padding: 20px 0;
}

.vplugin-cash-wallet-title {
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #171717;
}

/* Cash Balance Card */
.vplugin-cash-balance-section {
    margin-bottom: 40px;
}



.vplugin-cash-balance-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vplugin-cash-balance-amount {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

/* Transactions Section */
.vplugin-cash-transactions-section {
    margin-top: 40px;
}



.vplugin-cash-no-transactions {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.vplugin-cash-no-transactions p {
    margin: 0;
    font-size: 16px;
}

/* Transaction Table Styles */
.vplugin-cash-wallet .woocommerce-orders-table {
    margin-top: 20px;
}

.vplugin-cash-wallet .woocommerce-orders-table__cell {
    padding: 15px 10px;
    vertical-align: middle;
}

.vplugin-cash-wallet .woocommerce-orders-table__cell-order-total {
    font-weight: 600;
}

.vplugin-cash-wallet .vplugin-cash-add {
    color: #28a745;
}

.vplugin-cash-wallet .vplugin-cash-use {
    color: #dc3545;
}

.vplugin-cash-wallet .woocommerce-orders-table__cell-order-status small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.7;
}

.vplugin-cash-wallet .woocommerce-orders-table__cell-order-status small a {
    color: inherit;
    text-decoration: underline;
}

.vplugin-cash-wallet .woocommerce-orders-table__cell-order-status small a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    /* Edit Account Modal - Mobile Bottom Sheet Style */
    .vplugin-edit-account-modal {
        align-items: flex-end !important;
    }
    
    .vplugin-edit-account-modal-content {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 90vh !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 24px 20px 32px 20px !important;
        margin: 0 !important;
        animation: slideUpFromBottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: translateY(0) !important;
    }
    
    @keyframes slideUpFromBottom {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .vplugin-edit-account-modal-title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .vplugin-edit-account-modal-close {
        top: 16px;
        right: 16px;
    }
    .vplugin-cash-balance-card {
        padding: 20px;
    }
    
    .vplugin-cash-balance-amount {
        font-size: 28px;
    }
    
    .vplugin-cash-wallet .woocommerce-orders-table__cell {
        padding: 10px 5px;
        font-size: 14px;
    }
    
    .vplugin-cash-wallet-title {
        font-size: 24px;
    }
    
    .vplugin-cash-transactions-title {
        font-size: 18px;
    }
}

/* Edit Address Page */
.vplugin-edit-address-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.vplugin-edit-address-title {
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #171717;
}

.vplugin-edit-address-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px 0;
}

.vplugin-address-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.vplugin-address-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--vplugin-color-primary, #3b82f6);
}

.vplugin-address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.vplugin-address-card-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vplugin-address-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vplugin-address-card-icon svg {
    width: 24px;
    height: 24px;
}

.vplugin-address-card-icon-billing {
    background: #f3e8ff;
    color: #9333ea;
}

.vplugin-address-card-icon-shipping {
    background: #dcfce7;
    color: #16a34a;
}

.vplugin-address-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #171717;
    margin: 0;
}

.vplugin-address-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 25px;
    background: #f3f4f6;
    border: none;
    border-radius: 99px;
    color: #171717;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0px;
}

.vplugin-address-edit-btn svg {
    width: 16px;
    height: 16px;
}

.vplugin-address-edit-btn:hover {
    background: #e5e7eb;
}

.vplugin-address-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vplugin-address-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vplugin-address-field-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vplugin-address-field-value {
    font-size: 14px;
    font-weight: 500;
    color: #171717;
    line-height: 1.5;
}

.vplugin-address-field-value > div {
    margin-bottom: 2px;
}

.vplugin-address-field-value > div:last-child {
    margin-bottom: 0;
}

.vplugin-address-security-note {
    background: color-mix(
    in srgb,
    var(--vplugin-color-primary) 10%,
    transparent
);

    border-radius: 12px;
    border: 1px solid var(--vplugin-color-primary, #3b82f6);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.vplugin-address-security-note-icon {
    width: 24px;
    height: 24px;
    color: var(--vplugin-color-primary, #3b82f6);
    flex-shrink: 0;
    margin-top: 2px;
}

.vplugin-address-security-note-icon svg {
    width: 100%;
    height: 100%;
}

.vplugin-address-security-note-content {
    flex: 1;
}

.vplugin-address-security-note-title {
    font-size: 16px;
    font-weight: 600;
    color: #171717;
    margin: 0 0 8px 0;
}

.vplugin-address-security-note-text {
    font-size: 14px;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

/* Edit Address Modal */
.vplugin-edit-address-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
}

.vplugin-edit-address-modal:not([style*="display: none"]) {
    display: flex !important;
}

.vplugin-edit-address-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: auto;
    animation: fadeIn 0.4s ease-out;
}

.vplugin-edit-address-modal-content {
    position: relative !important;
    background: #fff !important;
    border-radius: 16px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2 !important;
    margin: 0 !important;
    pointer-events: auto !important;
    animation: slideUpScale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.vplugin-edit-address-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    text-decoration: none;
    outline: none;
}

.vplugin-edit-address-modal-close:hover {
    background: #333;
}

.vplugin-edit-address-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #171717;
    margin: 0 0 24px 0;
    text-align: center;
}

.vplugin-edit-address-form {
    display: flex;
    flex-direction: column;
}

.vplugin-edit-address-form .vplugin-auth-input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.vplugin-edit-address-form .vplugin-auth-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 99px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #fff;
    min-height: 45px !important;
    box-shadow: none !important;
}

.vplugin-edit-address-form .vplugin-auth-input:focus {
    outline: none;
    border-color: #000;
}

.vplugin-edit-address-form .vplugin-auth-input:not(:placeholder-shown) {
    border-color: #000;
}

.vplugin-edit-address-form .vplugin-auth-input:focus ~ .vplugin-auth-label-floating,
.vplugin-edit-address-form .vplugin-auth-input:not(:placeholder-shown) ~ .vplugin-auth-label-floating,
.vplugin-edit-address-form .vplugin-auth-label-floating.vplugin-label-active {
    top: 4px;
    transform: translateY(-50%) scale(0.8);
    color: #737373;
    padding: 0 8px;
}

.vplugin-edit-address-form .vplugin-auth-label-floating {
    position: absolute;
    left: 16px;
    top: 22px;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 400;
    color: #a3a3a3;
    background: #ffffff;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 1;
}

.vplugin-edit-address-form .vplugin-select-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.vplugin-edit-address-submit-btn {
    width: 100%;
    padding: 7px 20px;
    background: var(--vplugin-color-primary, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 8px;
    text-transform: uppercase;
}

.vplugin-edit-address-submit-btn:hover {
    background: var(--vplugin-color-primary-dark, #2563eb);
}

.vplugin-edit-address-submit-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .vplugin-address-cards {
        grid-template-columns: 1fr;
    }
    
    .vplugin-edit-address-title {
        font-size: 24px;
    }
    
    .vplugin-edit-address-modal {
        align-items: flex-end !important;
    }
    
    .vplugin-edit-address-modal-content {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 90vh !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 24px 20px 32px 20px !important;
        margin: 0 !important;
        animation: slideUpFromBottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: translateY(0) !important;
    }
    
    .vplugin-edit-address-modal-title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .vplugin-edit-address-modal-close {
        top: 16px;
        right: 16px;
    }
    .vplugin-my-account-content-wrapper{
        width: 100%;
    }
}

/* Cash Wallet New Design */
.vplugin-cash-wallet-wrapper {
    width: 100%;
    padding: 0;
}

.vplugin-cash-wallet-page-title {
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #171717;
}

.vplugin-cash-transactions-title {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #171717;
    display: contents;
}
/* Summary Section */
.vplugin-cash-summary-section {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.vplugin-cash-balance-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    background: color-mix(
        in srgb,
        var(--vplugin-color-primary) 10%,
        transparent
    );
    
    border: 1px solid var(--vplugin-color-primary, #3b82f6);
}

.vplugin-cash-balance-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.vplugin-cash-balance-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--vplugin-color-primary, #3b82f6);
    line-height: 1.2;
}

.vplugin-cash-monthly-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 250px;
}

.vplugin-cash-monthly-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    position: relative;
    overflow: hidden;
}

.vplugin-cash-monthly-add {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.vplugin-cash-monthly-use {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.vplugin-cash-monthly-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.vplugin-cash-monthly-amount {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.vplugin-cash-monthly-add .vplugin-cash-monthly-amount {
    color: #16a34a;
}

.vplugin-cash-monthly-use .vplugin-cash-monthly-amount {
    color: #dc2626;
}

.vplugin-cash-monthly-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: 0.3;
    width: 40px;
    height: 40px;
}

.vplugin-cash-monthly-icon svg {
    width: 100%;
    height: 100%;
}

.vplugin-cash-monthly-add .vplugin-cash-monthly-icon svg {
    fill: #16a34a;
}

.vplugin-cash-monthly-use .vplugin-cash-monthly-icon svg {
    fill: #dc2626;
}

/* Transactions Section */
.vplugin-cash-transactions-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
  
    border: 1px solid #e5e5e5;
}

.vplugin-cash-transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}



.vplugin-cash-search-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vplugin-cash-search-filter input{
    height: 40px   ;
    box-shadow: none !important;
    border: 1px solid #d1d5db;
    border-radius: 99px !important;
    font-size: 14px;
    width: 280px;
    transition: border-color 0.2s;
    padding: 10px 40px 10px 16px;
}
.vplugin-cash-search-filter input:focus {
    outline: none;
    border-color: var(--vplugin-color-primary, #3b82f6);
}
.vplugin-cash-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px;
    position: relative;
}

.vplugin-cash-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.vplugin-cash-search-input {
    padding: 10px 40px 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    width: 280px;
    transition: border-color 0.2s;
}

.vplugin-cash-search-input:focus {
    outline: none;
    border-color: var(--vplugin-color-primary, #3b82f6);
}

.vplugin-cash-search-btn {
    display: none; /* Hidden as requested */
}

.vplugin-cash-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 6px;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
    position: absolute;
    right: 5px;
    top: 4px;
    background-color: #dd3333;
}

.vplugin-cash-search-clear:hover {
    background-color: #f3f4f6;
    color: var(--vplugin-color-primary, #3b82f6);
}

.vplugin-cash-search-clear svg {
    width: 20px;
    height: 20px;
    display: block;
}


/* Transactions Table */
.vplugin-cash-transactions-table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}

.vplugin-cash-transactions-table {
    width: 100%;
    border-collapse: collapse;
}

.vplugin-cash-transactions-table thead {
    background-color: #f9fafb;
}

.vplugin-cash-transactions-table th {
    padding: 12px 16px !important;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

.vplugin-cash-transactions-table td {
    padding: 16px !important;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #1a1a1a;
}

.vplugin-cash-transactions-table tbody tr:hover {
    background-color: #f9fafb;
}

.vplugin-cash-transactions-table tbody tr:last-child td {
    border-bottom: none;
}

/* Transaction Row Styles */
.vplugin-cash-td-date {
    color: #6b7280;
    white-space: nowrap;
}

.vplugin-cash-td-description {
    min-width: 250px;
}

.vplugin-cash-description-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vplugin-cash-description-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
   
}
.vplugin-cash-icon-use{
    background: #ffcece;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vplugin-cash-icon-add{
    background: #dcfce7;    
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vplugin-cash-icon-add svg {
    fill: #16a34a;
}

.vplugin-cash-icon-use svg {
    fill: #dc2626;
}

.vplugin-cash-description-text {
    flex: 1;
    line-height: 1.5;
}

.vplugin-cash-order-link {
    color: #6b46c1;
    text-decoration: none;
    font-size: 13px;
    margin-top: 4px;
    display: inline-block;
}

.vplugin-cash-order-link:hover {
    text-decoration: underline;
}

.vplugin-cash-amount-add {
    color: #16a34a;
    font-weight: 600;
}

.vplugin-cash-amount-use {
    color: #dc2626;
    font-weight: 600;
}

.vplugin-cash-td-balance {
    color: #6b7280;
    font-weight: 500;
}

.vplugin-cash-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.vplugin-cash-status-completed {
    background-color: #dcfce7;
    color: #16a34a;
}

.vplugin-cash-status-pending {
    background-color: #fed7aa;
    color: #ea580c;
}

.vplugin-cash-no-transactions {
    text-align: center;
    padding: 48px 24px;
    color: #6b7280;
}

.vplugin-cash-no-transactions p {
    margin: 0;
    font-size: 16px;
}

/* Pagination */
.vplugin-cash-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 16px;
}

.vplugin-cash-pagination-info {
    font-size: 14px;
    color: #6b7280;
}

.vplugin-cash-pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vplugin-cash-pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.vplugin-cash-pagination-btn:hover:not(.disabled) {
    border-color: #6b46c1;
    color: #6b46c1;
    background: #f3f4f6;
}

.vplugin-cash-pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vplugin-cash-pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.vplugin-cash-pagination-number:hover:not(.current) {
    border-color: var(--vplugin-color-primary, #3b82f6);
    color: var(--vplugin-color-primary, #3b82f6);
    background: #f3f4f6;
}

.vplugin-cash-pagination-number.current {
    background: var(--vplugin-color-primary, #3b82f6);
    border-color: var(--vplugin-color-primary, #3b82f6);
    color: #fff;
    cursor: default;
}

.vplugin-cash-pagination-ellipsis {
    padding: 0 8px;
    color: #6b7280;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .vplugin-cash-summary-section {
        flex-direction: column;
    }
    
    .vplugin-cash-balance-card {
        min-width: 100%;
    }
    
    .vplugin-cash-monthly-cards {
        flex-direction: row;
        min-width: 100%;
    }
    
    .vplugin-cash-monthly-card {
        flex: 1;
    }
    
    .vplugin-cash-transactions-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vplugin-cash-search-input {
        width: 100%;
    }
    
    .vplugin-cash-transactions-table {
        font-size: 12px;
    }
    
    .vplugin-cash-transactions-table th,
    .vplugin-cash-transactions-table td {
        padding: 10px 8px;
    }
    
    .vplugin-cash-pagination {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vplugin-cash-pagination-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .vplugin-cash-transactions-table thead {
        display: none;
    }
    
    .vplugin-cash-transactions-table tbody tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 12px;
    }
    
    .vplugin-cash-transactions-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .vplugin-cash-transactions-table tbody td:last-child {
        border-bottom: none;
    }
    
    .vplugin-cash-transactions-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6b7280;
        margin-right: 12px;
    }
    
    .vplugin-cash-td-description {
        flex-direction: column;
        align-items: flex-start;
    }
    .vplugin-cash-wallet-page-title{
        font-size: 20px;
    }
 
}

/* ============================================
   LICENSES STYLES (Similar to Cash Transactions)
   ============================================ */

.vplugin-licenses-wrapper {
    max-width: 100%;
}

.vplugin-licenses-page-title {
    font-size: 30px;
  
    color: #1a1a1a;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.vplugin-licenses-description {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
}



/* Licenses Table */
.vplugin-licenses-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
   
}
.vplugin-licenses-table-wrapper tbody{
    border: 1px solid #ddd;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.vplugin-licenses-table {
    width: 100%;
    border-collapse: collapse;
}

.vplugin-licenses-table thead {
    background-color: var(--vplugin-color-primary, #3b82f6);
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    color: #fff;
    border:1px solid var(--vplugin-color-primary, #3b82f6);
   
}

.vplugin-licenses-table th {
    padding: 12px 16px !important;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
   
}
.vplugin-licenses-table th:last-child {
    text-align: center;
}
.vplugin-licenses-table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #1a1a1a;
}
.vplugin-licenses-table td:last-child {
    text-align: center;
}
.vplugin-licenses-table tbody tr:hover {
    background-color: #f9fafb;
}

.vplugin-licenses-table tbody tr:last-child td {
    border-bottom: none;
}

/* License Key */
.vplugin-license-key-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vplugin-license-key {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
    color: #1a1a1a;
}

.vplugin-license-copy-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.vplugin-license-copy-btn:hover {
    color: #3b82f6;
}

.vplugin-license-copy-btn.copied {
    color: #16a34a;
}

/* Product Info */
.vplugin-license-product-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vplugin-license-product-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.vplugin-license-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vplugin-license-product-name {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 14px;
}

.vplugin-license-product-order {
    font-size: 13px;
    color: #6b7280;
}

.vplugin-license-product-order .vplugin-license-order-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.vplugin-license-product-order .vplugin-license-order-link:hover {
    text-decoration: underline;
}

/* Package Details */
.vplugin-license-package-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vplugin-license-td-package {
    position: relative;
    padding-right: 50px !important; /* Make room for icon button */
}

.vplugin-license-package-details {
    position: relative;
}

.vplugin-license-renew-icon-btn {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--vplugin-color-primary, #3b82f6); /* vplugin-primary color */
    transition: all 0.2s ease;
    opacity: 0.7;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    margin: 0;
}

.vplugin-license-renew-icon-btn:hover {
    opacity: 1;
    background-color: rgba(34, 113, 177, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.vplugin-license-renew-icon-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.vplugin-license-renew-icon-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.vplugin-license-renew-icon-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Renew icon button in license-domain page (info card) */
.vplugin-license-domain-wrapper .vplugin-license-info-item .vplugin-license-renew-icon-btn {
    position: static;
    transform: none;
    margin-left: auto;
    flex-shrink: 0;
}

.vplugin-license-domain-wrapper .vplugin-license-info-item .vplugin-license-renew-icon-btn:hover {
    transform: scale(1.1);
}

.vplugin-license-domain-wrapper .vplugin-license-info-item .vplugin-license-renew-icon-btn:active {
    transform: scale(0.95);
}

.vplugin-license-domain-wrapper .vplugin-license-info-item .vplugin-license-renew-icon-btn:disabled {
    transform: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Popup gia hạn / nâng cấp license - giao diện theo ảnh mẫu */
:root {
    --vplugin-renew-green: #166534;
    --vplugin-renew-green-dark: #14532d;
    --vplugin-renew-green-light: #c3df94;
    --vplugin-renew-green-soft: #bbf7d0;
}
.vplugin-renew-upgrade-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}
.vplugin-renew-upgrade-modal.is-open {
    visibility: visible;
    opacity: 1;
}
.vplugin-renew-upgrade-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
/* Dialog chỉ hiển thị khi đã load đầy đủ (.is-ready) */
.vplugin-renew-upgrade-modal.is-open .vplugin-renew-upgrade-dialog:not(.is-ready) {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
}
.vplugin-renew-upgrade-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 100%;
    padding: 28px 24px 20px;
    transition: visibility 0.2s, opacity 0.2s;
}
.vplugin-renew-upgrade-dialog.is-ready {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.vplugin-renew-upgrade-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #fff;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}
.vplugin-renew-upgrade-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}
.vplugin-renew-upgrade-close:hover {
    color: var(--vplugin-renew-green-dark);
    background: var(--vplugin-renew-green-light);
}
.vplugin-renew-upgrade-title {
    margin: 0 40px 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--vplugin-renew-green-dark);
}
.vplugin-renew-upgrade-options {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.vplugin-renew-upgrade-card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    background: #fafafa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.vplugin-renew-upgrade-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.vplugin-renew-upgrade-card .vplugin-card-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.vplugin-renew-upgrade-card .vplugin-card-title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.vplugin-renew-upgrade-card .vplugin-card-title-row .vplugin-card-icon {
    flex-shrink: 0;
}
.vplugin-renew-upgrade-card .vplugin-card-title-row .vplugin-card-title {
    margin: 0;
    flex: 1;
    min-width: 0;
}
.vplugin-renew-upgrade-card .vplugin-card-left .vplugin-card-info {
    margin: 0;
    padding-left: 0;
    min-width: 0;
}
.vplugin-renew-upgrade-card .vplugin-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
}
.vplugin-renew-upgrade-card .vplugin-card-icon {
    flex-shrink: 0;
   
 
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vplugin-renew-green-dark);
}
.vplugin-renew-upgrade-card .vplugin-card-icon svg {
    width: 24px;
    height: 24px;
}
.vplugin-renew-upgrade-card .vplugin-card-icon .vplugin-infinity-symbol {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: var(--vplugin-renew-green-dark);
}
.vplugin-renew-upgrade-card .vplugin-card-info {
    flex: 1;
    min-width: 0;
}
.vplugin-renew-upgrade-card .vplugin-card-title {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.vplugin-renew-upgrade-card .vplugin-card-desc {
    margin: 0 0 6px 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}
.vplugin-renew-upgrade-card .vplugin-card-cashback {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--vplugin-renew-green);
}
.vplugin-renew-upgrade-card .vplugin-card-right .vplugin-option-price.vplugin-card-price-current,
.vplugin-renew-upgrade-card .vplugin-card-right .vplugin-option-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--vplugin-renew-green-dark);
    text-align: right;
    margin: 0;
}
.vplugin-renew-upgrade-card.vplugin-option-upgrade .vplugin-card-right .vplugin-card-price.vplugin-option-price {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}
p.vplugin-card-original-price.vplugin-option-original-price {
    margin: 0px;
}
.vplugin-renew-upgrade-card .vplugin-card-right .vplugin-card-original-price span.amount {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
    margin: 0;
    text-align: right;
}
.vplugin-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    top: -17px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--vplugin-renew-green);
    background: var(--vplugin-renew-green-light);
    padding: 4px 8px;
    border-radius: 6px;
}
.vplugin-renew-upgrade-card .vplugin-option-btn {
    padding: 5px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, background 0.2s, color 0.2s;
    white-space: nowrap;
    margin: 0;
    min-width: 120px;
}
.vplugin-btn-renew {
    background: var(--vplugin-renew-green-dark);
    color: #fff;
}
.vplugin-btn-renew:hover:not(:disabled) {
    opacity: 0.92;
    background: #0f4222;
}
.vplugin-btn-upgrade {
    background: #c3df94;
    color: var(--vplugin-renew-green-dark);
}
.vplugin-btn-upgrade:hover:not(:disabled) {

    background: #c3df94;
}
.vplugin-option-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.vplugin-renew-upgrade-loading {
    margin: 0;
    text-align: center;
    color: #6b7280;
    padding: 24px 0;
}
.vplugin-renew-upgrade-terms {
    margin: 14px 0 0 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}
.vplugin-renew-upgrade-terms-link {
    color: var(--vplugin-renew-green);
    text-decoration: underline;
}
.vplugin-renew-upgrade-terms-link:hover {
    color: var(--vplugin-renew-green-dark);
}

.vplugin-license-package-name {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 14px;
}

.vplugin-license-package-expires {
    font-size: 13px;
    color: #6b7280;
    position: relative;
}

/* Status Badge */
.vplugin-license-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;

    letter-spacing: 0.3px;
}

.vplugin-license-status-badge.status-active.valid {
    background-color: #dcfce7;
    color: #16a34a;
}

.vplugin-license-status-badge.status-inactive,
.vplugin-license-status-badge.status-expired {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Domains */
.vplugin-license-domains {
    margin: 0;


}

.vplugin-license-domains li {
    margin: 2px 0 !important;
    list-style: none;
}

.vplugin-license-no-domain {
    color: #6b7280;
    font-style: italic;
}

/* Manage Button */
.vplugin-license-manage-btn {
    background: var(--vplugin-color-primary, #3b82f6);
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;

    width: 36px;
    height: 36px;
    min-width: 36px;
    margin: 0px !important;
    position: relative;
    z-index: 1;
    pointer-events: auto !important;
}

.vplugin-license-manage-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.vplugin-license-manage-btn:hover {
    background: #222222;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* Pagination */
.vplugin-licenses-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.vplugin-licenses-pagination-info {
    color: #6b7280;
    font-size: 14px;
}

.vplugin-licenses-pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vplugin-licenses-pagination-btn {
   
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    width: 35px;
    height: 35px;
    line-height: 40px;
    text-align: center;
}

.vplugin-licenses-pagination-btn:hover:not(.disabled) {
    background: #f9fafb;
    border-color: var(--vplugin-color-primary, #3b82f6);
    color: var(--vplugin-color-primary, #3b82f6);
}

.vplugin-licenses-pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vplugin-licenses-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vplugin-licenses-pagination-number {
   
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    min-width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    transition: all 0.2s;
}

.vplugin-licenses-pagination-number:hover:not(.current) {
    background: #f9fafb;
    border-color: var(--vplugin-color-primary, #3b82f6);
    color: var(--vplugin-color-primary, #3b82f6);
}

.vplugin-licenses-pagination-number.current {
    background: var(--vplugin-color-primary, #3b82f6);
    border-color: var(--vplugin-color-primary, #3b82f6);
    color: #fff;
    font-weight: 600;
}

.vplugin-licenses-pagination-ellipsis {
    padding: 8px 4px;
    color: #6b7280;
}

.vplugin-licenses-empty {
    text-align: center;
    padding: 48px 24px;
    color: #6b7280;
}

/* License Domain Management */
.vplugin-license-domain-wrapper {
    max-width: 100%;
}

.vplugin-license-domain-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.vplugin-license-back-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.vplugin-license-back-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.vplugin-license-domain-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.vplugin-license-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vplugin-license-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
}

.vplugin-license-status-text {
    font-size: 14px;
    color: #16a34a;
    font-weight: 500;
}

.vplugin-license-domain-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.vplugin-license-info-card,
.vplugin-license-active-domain-card,
.vplugin-license-change-domain-card,
.vplugin-license-history-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 25px;
}

.vplugin-license-card-title {
        font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.vplugin-license-info-item {
    margin-bottom: 16px;
}

.vplugin-license-info-item:last-child {
    margin-bottom: 0;
}

.vplugin-license-info-item label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.vplugin-license-key-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vplugin-license-key-display code {
    background: #f0f0f0;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 14px;
    flex: 1;
}

.vplugin-license-domain-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vplugin-license-domain-progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.vplugin-license-domain-progress-fill {
    height: 100%;
    background: #3b82f6;
    transition: width 0.3s;
}

.vplugin-license-domain-progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
}

.vplugin-license-domain-change-info {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

.vplugin-license-domain-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 12px;
}

.vplugin-license-domain-item:last-child {
    margin-bottom: 0;
}

.vplugin-license-domain-icon {
    flex-shrink: 0;
    color: #16a34a;
}

.vplugin-license-domain-details {
    flex: 1;
}

.vplugin-license-domain-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.vplugin-license-domain-date {
    font-size: 13px;
    color: #6b7280;
}

.vplugin-license-domain-deactivate-btn {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.vplugin-license-domain-deactivate-btn:hover {
    background: #dc2626;
    color: #fff;
}

.vplugin-license-no-domain {
    color: #6b7280;
    font-style: italic;
}

.vplugin-license-form-group {
    margin-bottom: 16px;
}

.vplugin-license-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.vplugin-license-domain-select,
.vplugin-license-domain-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px !important;
    font-size: 14px;
    transition: border-color 0.2s;
    min-height: 45px;
    box-shadow: none !important;
    
}

.vplugin-license-domain-select:focus,
.vplugin-license-domain-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.vplugin-license-change-domain-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vplugin-license-change-domain-btn:hover {
    background: #3b82f6;
}

.vplugin-license-domain-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 12px;
    font-style: italic;
}

.vplugin-license-domain-limit {
    color: #dc2626;
    font-size: 14px;
}

.vplugin-license-history-list {
    max-height: 400px;
    overflow-y: auto;
}

.vplugin-license-history-item {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.vplugin-license-history-item:last-child {
    border-bottom: none;
}

.vplugin-license-history-date {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.vplugin-license-history-action {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.vplugin-license-history-description {
    font-size: 13px;
    color: #6b7280;
}

.vplugin-license-history-view-all {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--vplugin-color-primary, #3b82f6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.vplugin-license-history-view-all:hover {
    color: var(--vplugin-color-primary-hover, #2563eb);
    text-decoration: underline;
}

.vplugin-license-no-history {
    color: #6b7280;
    font-style: italic;
    text-align: center;
    padding: 24px;
}
.vplugin-auth-input-wrapper span.select2-selection.select2-selection--single {
    height: 45px;
    border-radius: 99px !important;
    box-shadow: none !important;
    border-color: #000 !important;
}

.vplugin-auth-input-wrapper .select2-container{
    margin-bottom: 15px;;
}

.vplugin-edit-address-modal  .select2-dropdown {
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background: #fff;
    margin-top: 4px;
    overflow: hidden;
    animation: dropdownFadeIn 0.2s ease-out;
    z-index: 9999 !important;
    padding: 8px;
    border-radius: 25px;
    top: 10px;
}
.vplugin-edit-address-modal .select2-results {
    padding: 4px 0;
}
.vplugin-edit-address-modal .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}
.select2-container--default .select2-results__option {
    padding: 10px 12px;
    color: #333;
    background: #fff !important;
    transition: background-color 0.2s ease;
    border-radius: 25px !important;
}
.select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[data-selected=true] {
    background-color: #f5f5f5  !important;
}
.vplugin-edit-address-modal .select2-container--default .select2-search--dropdown .select2-search__field {
    border: none;
    border-radius: 5px !important;
    padding: 10px 12px;
    box-shadow: none;
}
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option:hover {
    background-color: #f5f5f5 !important;
    color: #333;
}

/* Quick Renew Section - CSS cho cả desktop và mobile */
.vplugin-license-domain-wrapper .vplugin-license-quick-renew-card {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.vplugin-license-domain-wrapper .vplugin-license-quick-renew-options {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin: 20px 0 !important;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-option {
    position: relative !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-option:hover {
    border-color: var(--vplugin-color-primary, #3b82f6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.15) !important;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-option.selected {
    border-color:var(--vplugin-color-primary, #3b82f6) !important;
    background: color-mix(in srgb, 
        var(--vplugin-color-primary, #3b82f6) 10%, 
        transparent
    ) !important;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.2) !important;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-option-header {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    display: flex !important;
    gap: 8px !important;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-selected-badge {
    background: #2271b1 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-discount-badge {
    background: #d63638 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-option-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #707070  !important;
    margin: 5px 0 5px !important;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-option-price {
    margin: 5px 0 !important;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-price-current {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2271b1 !important;
    display: block !important;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-price-original span.amount {
    font-size: 14px !important;
    color: #999 !important;
    text-decoration: line-through !important;
    display: block !important;
    margin-top: 4px !important;
}

.vplugin-license-domain-wrapper .vplugin-license-renew-option-save {
    font-size: 12px !important;
    color: #46b450 !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
}

.vplugin-license-domain-wrapper .vplugin-license-quick-renew-total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px !important;
    background: #f5f5f5 !important;
    border-radius: 8px !important;
    margin: 20px 0 !important;
}

.vplugin-license-domain-wrapper .vplugin-license-quick-renew-total-label {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1d2327 !important;
}

.vplugin-license-domain-wrapper .vplugin-license-quick-renew-total-amount {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--vplugin-color-primary, #3b82f6) !important;
}

.vplugin-license-domain-wrapper .vplugin-license-quick-renew-btn {
    width: 100% !important;
    background: var(--vplugin-color-primary, #3b82f6) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.vplugin-license-domain-wrapper .vplugin-license-quick-renew-btn:hover {
    background: var(--vplugin-color-primary, #3b82f6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3) !important;
}

.vplugin-license-domain-wrapper .vplugin-license-quick-renew-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .vplugin-license-domain-content {
        grid-template-columns: 1fr;
    }
    
    .vplugin-licenses-table {
        font-size: 12px;
    }
    
    .vplugin-licenses-table th,
    .vplugin-licenses-table td {
        padding: 8px !important;
    }
    
    .vplugin-licenses-pagination {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .vplugin-licenses-pagination-controls {
        justify-content: center;
    }
    .vplugin-licenses-page-title{
        font-size: 24px;
    }
    
    /* Quick Renew Section - Mobile responsive adjustments */
    .vplugin-license-domain-wrapper .vplugin-license-quick-renew-options {
        grid-template-columns: 1fr !important;
    }
}

/* Renewal Checkout Page Styles - CSS cho cả desktop và mobile */
.woocommerce-account .vplugin-renewal-checkout-wrapper {
  
        margin: 0 auto !important;
       
        box-sizing: border-box !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .woocommerce-account .vplugin-renewal-checkout-header {
        margin-bottom: 30px !important;
    }
    
  
    
    .woocommerce-account .vplugin-renewal-checkout-subtitle {
        color: #666 !important;
        font-size: 16px !important;
    }
    
    .woocommerce-account .vplugin-renewal-checkout-content {
        display: grid !important;
        grid-template-columns: 1fr 380px !important;
        gap: 30px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .woocommerce-account .vplugin-renewal-checkout-left {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }
    
    .woocommerce-account .vplugin-renewal-quick-renew-section,
    .woocommerce-account .vplugin-renewal-discount-section,
    .woocommerce-account .vplugin-renewal-cash-section,
    .woocommerce-account .vplugin-renewal-payment-section,
    .woocommerce-account .vplugin-renewal-vat-section {
        background: #fff !important;
  
   
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
      
    }
    
    .woocommerce-account .vplugin-renewal-quick-renew-section h3,
    .woocommerce-account .vplugin-renewal-discount-section h3,
    .woocommerce-account .vplugin-renewal-cash-section h3,
    .woocommerce-account .vplugin-renewal-payment-section h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #1d2327 !important;
        margin-bottom: 20px !important;
    }
    
    .woocommerce-account .vplugin-renewal-options {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .woocommerce-account .vplugin-renewal-option {
        position: relative !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        padding: 20px !important;
        text-align: center !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        background: #fff !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    
    .woocommerce-account .vplugin-renewal-option:hover {
        border-color: #2271b1 !important;
       
        box-shadow: 0 4px 12px rgba(34, 113, 177, 0.15) !important;
    }
    
    .woocommerce-account .vplugin-renewal-option.selected {
        border-color: var(--vplugin-color-primary, #3b82f6) !important;
        background: color-mix(in srgb, 
        var(--vplugin-color-primary, #3b82f6) 10%, 
        transparent
    ) !important;
        box-shadow: 0 4px 12px rgba(34, 113, 177, 0.2) !important;
    }
    
    .woocommerce-account .vplugin-renewal-option-header {
        position: absolute !important;
        top: 8px !important;
        left: 8px !important;
        display: flex !important;
        gap: 8px !important;
    }
    
    .woocommerce-account .vplugin-renewal-selected-badge {
        background: #2271b1 !important;
        color: #fff !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        padding: 4px 8px !important;
        border-radius: 4px !important;
        text-transform: uppercase !important;
    }
    
    .woocommerce-account .vplugin-renewal-discount-badge {
        background: #d63638 !important;
        color: #fff !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        padding: 4px 8px !important;
        border-radius: 4px !important;
    }
    
    .woocommerce-account .vplugin-renewal-option-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #1d2327 !important;
        margin: 12px 0 4px !important;
    }
    
    .woocommerce-account .vplugin-renewal-option-subtitle {
        font-size: 14px !important;
        color: #666 !important;
    }
    
    .woocommerce-account .vplugin-renewal-section-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 20px !important;
    }
    
    .woocommerce-account .vplugin-renewal-view-all {
        color: #2271b1 !important;
        text-decoration: none !important;
        font-size: 14px !important;
    }
    
    .woocommerce-account .vplugin-renewal-coupon-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
    }
    
    .woocommerce-account .vplugin-renewal-coupon-card {
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        padding: 16px !important;
    }
    
    .woocommerce-account .vplugin-renewal-coupon-card input[type="radio"] {
        margin-right: 12px !important;
    }
    
    .woocommerce-account .vplugin-renewal-coupon-code {
        font-weight: 600 !important;
        color: #1d2327 !important;
    }
    
    .woocommerce-account .vplugin-renewal-coupon-amount {
        color: #2271b1 !important;
        font-weight: 600 !important;
        margin: 4px 0 !important;
    }
    
    .woocommerce-account .vplugin-renewal-coupon-expiry {
        font-size: 12px !important;
        color: #666 !important;
    }
    
    .woocommerce-account .vplugin-renewal-coupon-terms {
        color: #2271b1 !important;
        font-size: 12px !important;
        text-decoration: none !important;
    }
    
    .woocommerce-account .vplugin-renewal-coupon-input {
        display: flex !important;
        gap: 12px !important;
    }
    
    .woocommerce-account .vplugin-renewal-coupon-input input {
        flex: 1 !important;
        padding: 12px !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
    }
    
    .woocommerce-account .vplugin-renewal-apply-btn {
        background: #2271b1 !important;
        color: #fff !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 12px 24px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .woocommerce-account .vplugin-renewal-apply-btn:hover {
        background: #135e96 !important;
    }
    
    .woocommerce-account .vplugin-renewal-cash-toggle {
        margin-bottom: 16px !important;
    }
    
    .woocommerce-account .vplugin-renewal-cash-toggle input[type="checkbox"] {
        margin-right: 8px !important;
    }
    
    .woocommerce-account .vplugin-renewal-cash-amount {
        margin-top: 16px !important;
    }
    
    .woocommerce-account .vplugin-renewal-cash-info {
        margin-bottom: 12px !important;
        font-size: 14px !important;
        color: #666 !important;
    }
    
    .woocommerce-account .vplugin-renewal-cash-input {
        display: flex !important;
        gap: 8px !important;
        align-items: center !important;
    }
    
    .woocommerce-account .vplugin-renewal-cash-input input {
        flex: 1 !important;
        padding: 12px !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
    }
    
    .woocommerce-account .vplugin-renewal-cash-minus,
    .woocommerce-account .vplugin-renewal-cash-plus {
        width: 40px !important;
        height: 40px !important;
        border: 1px solid #e0e0e0 !important;
        background: #fff !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        font-size: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .woocommerce-account .vplugin-renewal-cash-status {
        margin-top: 12px !important;
        font-size: 14px !important;
    }
    
    .woocommerce-account .vplugin-renewal-remove-cash {
        color: #d63638 !important;
        text-decoration: none !important;
        font-size: 14px !important;
        margin-top: 8px !important;
        display: inline-block !important;
    }
    
    .woocommerce-account .vplugin-renewal-payment-methods,
    .vplugin-renewal-checkout-wrapper .wc_payment_methods.payment_methods.methods {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Payment method item styling - giống trang thanh toán */
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-item {
        margin-bottom: 12px !important;
        padding: 0 !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        background: #fff !important;
        position: relative !important;
        list-style: none !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-item:hover {
        border-color: var(--vplugin-color-primary, #3b82f6) !important;
    }
    
    /* Hidden input */
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-item input[type="radio"].vplugin-payment-method-input-hidden {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        opacity: 0 !important;
    }
    
    /* Visual radio button */
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-radio {
        position: absolute !important;
        bottom: 20px !important;
        left: 10px !important;
        width: 18px !important;
        height: 18px !important;
        border: 2px solid #d1d5db !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
        z-index: 1 !important;
        pointer-events: auto !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-radio:hover {
        border-color: var(--vplugin-color-primary, #3b82f6) !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-radio-inner {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background: transparent !important;
        transition: all 0.2s ease !important;
        transform: scale(0) !important;
    }
    
    /* Checked state */
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-item input[type="radio"]:checked ~ .vplugin-payment-method-radio,
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-item.vplugin-payment-active .vplugin-payment-method-radio {
        border-color: var(--vplugin-color-primary, #3b82f6) !important;
        background: #ffffff !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-item input[type="radio"]:checked ~ .vplugin-payment-method-radio .vplugin-payment-method-radio-inner,
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-item.vplugin-payment-active .vplugin-payment-method-radio .vplugin-payment-method-radio-inner {
        background: var(--vplugin-color-primary, #3b82f6) !important;
        transform: scale(1) !important;
    }
    
    /* Active/Selected state */
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-item.vplugin-payment-active {
        border-width: 1px !important;
        background: #ffffff !important;
        border-color: var(--vplugin-color-primary, #3b82f6) !important;
        box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1) !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-item.vplugin-payment-active .vplugin-payment-method-label .vplugin-payment-method-title {
        color: var(--vplugin-color-primary, #3b82f6) !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-label {
        display: block !important;
        cursor: pointer !important;
        margin: 0 !important;
        border-radius: 8px !important;
        transition: background 0.2s ease !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-label:hover {
        background: #f8f9fa !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-content {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 0px 20px 0px 55px !important;
        min-height: 60px !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-icon {
        width: 35px !important;
        height: 35px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-icon img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-info {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-title {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1d2327 !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.4 !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-payment-method-description {
        font-size: 14px;
        color: #737373;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
        font-weight: 400;
    }
    
    /* Payment box */
    .vplugin-renewal-checkout-wrapper .payment_box {
      display: none !important;
    }
    
    .vplugin-renewal-checkout-wrapper .payment_box p {
        margin: 0 0 8px 0 !important;
    }
    
    .vplugin-renewal-checkout-wrapper .payment_box p:last-child {
        margin-bottom: 0 !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-renewal-bank-info {
        margin: 0 !important;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-renewal-bank-info p {
        margin: 0 0 8px 0 !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
    
    .woocommerce-account .vplugin-renewal-payment-method {
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        padding: 16px !important;
    }
    
    .woocommerce-account .vplugin-renewal-payment-method input[type="radio"] {
        margin-right: 12px !important;
    }
    
    .woocommerce-account .vplugin-renewal-payment-title {
        font-weight: 600 !important;
        color: #1d2327 !important;
        margin-bottom: 4px !important;
    }
    
    .woocommerce-account .vplugin-renewal-payment-desc {
        font-size: 14px !important;
        color: #666 !important;
    }
    
    .woocommerce-account .vplugin-renewal-bank-info {
        margin-top: 16px !important;
        padding: 16px !important;
        background: #f5f5f5 !important;
        border-radius: 8px !important;
    }
    
    .woocommerce-account .vplugin-renewal-bank-info p {
        margin: 8px 0 !important;
        font-size: 14px !important;
    }
    
    .woocommerce-account .vplugin-renewal-checkout-right {
        position: sticky !important;
        top: 20px !important;
        height: fit-content !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        border: 1px solid #dcdcdc;
        border-radius: 20px;
    }
    
    .woocommerce-account .vplugin-renewal-summary {
        background: #fff !important;
        border-radius: 12px !important;
        padding: 24px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }
    
    .woocommerce-account .vplugin-renewal-summary h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #1d2327 !important;
        margin-bottom: 20px !important;
    }
    
    .woocommerce-account .vplugin-renewal-summary-items {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
        padding-bottom: 20px !important;
      
    }
    
    .woocommerce-account .vplugin-renewal-summary-item {
        display: flex !important;
        justify-content: space-between !important;
        font-size: 14px !important;
    }
    
    .woocommerce-account .vplugin-renewal-summary-price {
        font-weight: 600 !important;
        color: #1d2327 !important;
    }
    
    .woocommerce-account .vplugin-renewal-summary-total {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    
        padding-top: 20px !important;
        border-top: 2px solid #e0e0e0 !important;
    }
    
    .woocommerce-account .vplugin-renewal-summary-total-amount {
        font-size: 24px !important;
        font-weight: 700 !important;
        color: var(--vplugin-color-primary, #3b82f6) !important;
    }
    
    .woocommerce-account .vplugin-renewal-total-discount {
        font-size: 13px !important;
        color: hsl(22, 98%, 49%) !important;
        margin: 8px 0px !important;
        line-height: 1.4 !important;
        font-weight: 400 !important;
        text-align: right !important;
    }
    
    .woocommerce-account .vplugin-renewal-total-discount-amount {
        font-weight: 500 !important;
        color: hsl(22, 98%, 49%) !important;
    }
    
    .woocommerce-account .vplugin-renewal-cashback-info {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 16px !important;
        padding: 12px 16px !important;
        background: #f0f9ff !important;
        border-radius: 8px !important;
        border: 1px solid #bae6fd !important;
        font-size: 14px !important;
    }
    
    .woocommerce-account .vplugin-renewal-cashback-info span:first-child {
        color: #1d2327 !important;
        font-weight: 500 !important;
    }
    
    .woocommerce-account .vplugin-renewal-cashback-amount {
        font-weight: 600 !important;
        color: #16a34a !important;
    }
    
    .woocommerce-account .vplugin-renewal-pay-btn {
        width: 100% !important;
        background: var(--vplugin-color-primary, #3b82f6) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 16px 24px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .woocommerce-account .vplugin-renewal-pay-btn:hover {
        background: var(--vplugin-color-primary, #3b82f6) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3) !important;
    }
    
    .woocommerce-account .vplugin-renewal-pay-btn:disabled {
        background: #ccc !important;
        cursor: not-allowed !important;
        transform: none !important;
    }
    
    .woocommerce-account .vplugin-renewal-terms {
        margin-top: 16px !important;
        font-size: 12px !important;
        color: #666 !important;
        text-align: center !important;
    }
    
    .woocommerce-account .vplugin-renewal-terms a {
        color: #2271b1 !important;
        text-decoration: none !important;
    }
    
    /* Mobile responsive for renewal checkout */
    @media (max-width: 768px) {
        .woocommerce-account .vplugin-renewal-checkout-content {
            grid-template-columns: 1fr !important;
        }
        
        .woocommerce-account .vplugin-renewal-checkout-right {
            position: static !important;
        }
        
        .woocommerce-account .vplugin-renewal-options {
            grid-template-columns: 1fr !important;
        }
    }

/* ============================================
   Voucher & Cash Styles for Renewal Checkout
   ============================================ */

/* Discount Codes Section */
.vplugin-renewal-checkout-wrapper .vplugin-discount-codes {
    width: 100%;
    max-width: 100%;
    overflow: hidden;

    box-sizing: border-box;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 5px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-cards::-webkit-scrollbar {
    height: 6px;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-cards::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-card {
    position: relative;
    min-width: 300px;
    max-width: 350px;
    width: 350px;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    height: 26px;
    width: 24px;
    transform: translateX(-53%) translateY(-50%);
    border-radius: 50%;
    background: #fff;
    z-index: 1;
}

.vplugin-renewal-checkout-wrapper .coupon-card-wrapper {
    position: relative;
    flex: 0 0 auto;
    min-height: 107px;
    border-radius: 8px;
    background: #f5f5f5;
    padding-left: 24px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-card.coupon-loading .coupon-card-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-card.coupon-loading .coupon-card-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--vplugin-color-primary, #3b82f6);
    border-radius: 50%;
    animation: coupon-spin 0.8s linear infinite;
    z-index: 11;
}

@keyframes coupon-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.vplugin-renewal-checkout-wrapper .coupon-content {
    height: 100%;
    min-height: 107px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px dashed rgba(0, 0, 0, 0.2);
    padding: 12px 50px 12px 12px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.vplugin-renewal-checkout-wrapper .coupon-header-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.vplugin-renewal-checkout-wrapper .coupon-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
}

.vplugin-renewal-checkout-wrapper .coupon-code {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
    color: #171717;
    margin: 0;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: break-word;
}

.vplugin-renewal-checkout-wrapper .coupon-remaining {
    display: block;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
}

.vplugin-renewal-checkout-wrapper .coupon-description {
    font-size: 12px;
    color: rgba(23, 23, 23, 0.7);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

.vplugin-renewal-checkout-wrapper .coupon-radio-wrapper {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.vplugin-renewal-checkout-wrapper .coupon-radio {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
    outline: none;
    text-decoration: none;
    vertical-align: middle;
}

.vplugin-renewal-checkout-wrapper .coupon-radio:hover:not(:disabled) {
   
}

.vplugin-renewal-checkout-wrapper .coupon-radio[data-state="checked"] {
    border-color: #dc3545;
    background: #fff;
}
.vplugin-renewal-checkout-wrapper .coupon-radio[data-state="checked"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc3545;
}

.vplugin-renewal-checkout-wrapper .coupon-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vplugin-renewal-checkout-wrapper .coupon-expiry {
    font-size: 12px;
    color: rgba(23, 23, 23, 0.7);
    margin: 0;
    position: absolute;
    bottom: 10px;
}

.vplugin-renewal-checkout-wrapper .coupon-conditions {
    color: var(--vplugin-color-primary, #3b82f6);
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
    position: absolute;
    right: 20px;
    bottom: 10px;
}

.vplugin-renewal-checkout-wrapper .coupon-conditions:hover {
    text-decoration: underline;
}



.vplugin-renewal-checkout-wrapper .coupon-status.error {
    display: block !important;
    color: hsl(22 98% 49%);
    font-weight: 600;
    margin-top: 1px;
    padding: 4px 4px;
    background: #FEEEE8;
    border-radius: 4px;
    font-size: 11px;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

/* Coupon disabled styles - làm mờ chữ giống trang thanh toán */
.vplugin-renewal-checkout-wrapper .vplugin-coupon-card.coupon-disabled {
    cursor: not-allowed;
    border-radius: 8px;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-card.coupon-disabled .coupon-card-wrapper {
    pointer-events: none;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-card.coupon-disabled .coupon-header-row, 
.vplugin-renewal-checkout-wrapper .vplugin-coupon-card.coupon-disabled .coupon-footer .coupon-expiry {
    opacity: 0.6;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-card.coupon-disabled .coupon-radio {
    cursor: not-allowed;
    pointer-events: none;
}

/* Allow clicking on conditions link even when disabled */
.vplugin-renewal-checkout-wrapper .vplugin-coupon-card.coupon-disabled .coupon-conditions {
    pointer-events: auto;
    cursor: pointer;
    opacity: 1;
}

.vplugin-renewal-checkout-wrapper .coupon-status.success {
    display: block !important;
    visibility: visible !important;
    background: #d4edda;
    color: #28a745;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-input-form {
    margin:0px !important;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-remove-wrapper {
    margin-bottom: 12px;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-remove-link {
    color: #171717;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-remove-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-success-message {
    color: #0d7416;
    font-size: 14px;
    margin: 0 0 8px 0;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-input-relative {
    position: relative;
    flex: 1;
    min-width: 0;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-input {
    width: 100%;
    padding: 12px 16px !important;
    border: 1px solid #d4d4d4;
    border-radius: 9999px;
    font-size: 14px;
    line-height: 1.5;
    color: #171717;
    background: #ffffff;
    transition: border-color 0.2s ease;
    outline: none;
    font-weight: 400;
    box-shadow: none !important;
    height: 45px !important;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-input::placeholder {
    color: transparent;
    opacity: 0;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-input:focus {
    border-color: #737373;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-input:focus ~ .vplugin-coupon-label-floating,
.vplugin-renewal-checkout-wrapper .vplugin-coupon-input:not(:placeholder-shown) ~ .vplugin-coupon-label-floating,
.vplugin-renewal-checkout-wrapper .vplugin-coupon-label-floating.vplugin-label-active {
    top: 4px;
    transform: translateY(-50%) scale(0.8);
    color: #737373;
    padding: 0 8px;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-label-floating {
    position: absolute;
    left: 16px;
    top: 22px;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 400;
    color: #a3a3a3;
    background: #ffffff;
    padding: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    line-height: 1.5;
    white-space: nowrap;
    z-index: 1;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-apply-btn {
    padding: 12px 24px;
    background: var(--vplugin-color-primary, #3b82f6);
    color: #ffffff;
    border: none;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
    margin-right: 0px;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-apply-btn:hover {
    background: #333333;
}

.vplugin-renewal-checkout-wrapper .vplugin-coupon-apply-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cash Section */
.vplugin-renewal-checkout-wrapper .vplugin-cash-section {
    width: 100%;
    max-width: 100%;



    box-sizing: border-box;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-header {
    margin-bottom: 16px;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-checkbox {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #999;
    border-radius: 4px;
    background: #fff !important;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 !important;
    margin: 0 !important;
    outline: none;
    position: relative;
    min-height: 20px;
    min-width: 20px;
    text-align: center;
}
.vplugin-cash-checkbox[data-state="checked"] .vplugin-checkbox-indicator{
    background: var(--vplugin-color-primary, #3b82f6);
    border-radius: 2px;
    display: block;
    width: 12px;
    height: 12px;
}
.vplugin-renewal-checkout-wrapper .vplugin-cash-checkbox:hover:not(:disabled) {
    border-color: var(--vplugin-color-primary, #3b82f6);
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-checkbox[data-state="checked"] {
    border-color: var(--vplugin-color-primary, #3b82f6);
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-checkbox[data-state="checked"] .vplugin-checkbox-indicator {
    display: block;
    width: 12px;
    height: 12px;
    background: var(--vplugin-color-primary, #3b82f6);
    border-radius: 2px;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-checkbox-label {
    font-weight: 600 !important;
    font-size: 14px;
    color: #171717;
    cursor: pointer;
    margin: 0;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-balance-text {
    font-size: 14px;
    color: rgba(23, 23, 23, 0.5);
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-balance-text strong {
    font-weight: 600;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-form-wrapper {
    margin-top: 16px;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-max-info {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #171717;
    margin-bottom: 16px;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-max-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    font-weight: 700;
    color: var(--vplugin-color-primary, #3b82f6);
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin-bottom: 0px !important;
    text-transform: none;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-max-link:hover {
    text-decoration: underline;
}

/* VAT Invoice Section */
.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section {
    padding: 0;
    margin: 0;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-custom-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    padding: 0;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-custom-checkbox {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #999;
    border-radius: 4px;
    background: #fff !important;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 !important;
    margin: 0 !important;
    outline: none;
    position: relative;
    min-height: 20px;
    min-width: 20px;
    text-align: center;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-custom-checkbox:hover {
    border-color: #333;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-custom-checkbox:focus-visible {
    outline: 2px solid var(--vplugin-color-primary, #3b82f6);
    outline-offset: 2px;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-custom-checkbox[data-state="checked"] {
    border-color: var(--vplugin-color-primary, #3b82f6);
    background: #fff;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-custom-checkbox[data-state="checked"] .vplugin-checkbox-indicator {
    display: block;
    width: 12px;
    height: 12px;
    background: var(--vplugin-color-primary, #3b82f6);
    border-radius: 2px;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-custom-checkbox[data-state="unchecked"] .vplugin-checkbox-indicator {
    display: none;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-checkbox-indicator {
    pointer-events: none;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-checkbox-label {
    cursor: pointer;
    margin: 0;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-checkbox-label:hover {
    color: #333;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .vplugin-checkbox-label span:first-child {
    font-weight: 400;
    font-size: 14px;
    color: #171717;
}

.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .info-icon {
    margin-left: 5px;
    cursor: help;
    font-size: 14px;
    color: #666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* VAT section specific - inherits from main .info-icon rule above */
.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .info-icon {
    margin-left: 5px !important;
    color: #666 !important;
}
.vplugin-renewal-checkout-title{
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #171717;
}
.vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .info-icon svg {
    width: 16px;
    height: 16px;
}

/* VAT Invoice Fields */
.vplugin-renewal-checkout-wrapper .vplugin-vat-invoice-fields {
    background: #f2f2f2;
    padding: 20px;
    border-radius: 8px;
    margin-top: 16px;
}

.vplugin-renewal-checkout-wrapper .vplugin-vat-invoice-fields .vat-invoice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.vplugin-renewal-checkout-wrapper .vplugin-vat-invoice-fields .vat-invoice-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.vplugin-renewal-checkout-wrapper .vat-invoice-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.vplugin-renewal-checkout-wrapper .vat-invoice-form .form-row {
    margin-bottom: 0;
}

.vplugin-renewal-checkout-wrapper .vat-invoice-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-height: 45px;
    box-shadow: none !important;
    border-radius: 99px !important;
}

.vplugin-renewal-checkout-wrapper .vat-invoice-notes {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid var(--vplugin-color-primary, #3b82f6);
}

.vplugin-renewal-checkout-wrapper .vat-invoice-notes .notes-title {
    margin-bottom: 10px;
    font-size: 14px;
}

.vplugin-renewal-checkout-wrapper .vat-invoice-notes ul {
    margin: 0;
    padding-left: 20px;
}

.vplugin-renewal-checkout-wrapper .vat-invoice-notes li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.vplugin-renewal-checkout-wrapper .vat-invoice-notes a {
    color: var(--vplugin-color-primary, #3b82f6);
    text-decoration: underline;
}

/* Tooltip for info-icon in renewal checkout - Main rule */
.vplugin-renewal-checkout-wrapper .info-icon {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: help !important;
    z-index: 10 !important;
}

.vplugin-renewal-checkout-wrapper .info-icon::before {
    content: attr(data-tooltip) !important;
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-5px) !important;
    margin-bottom: 8px !important;
    padding: 12px 16px !important;
    background: #333 !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    width: 280px !important;
    max-width: 90vw !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
    z-index: 1000 !important;
    pointer-events: none !important;
    word-wrap: break-word !important;
    text-align: left !important;
}

.vplugin-renewal-checkout-wrapper .info-icon::after {
    content: '' !important;
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-bottom: 2px !important;
    border: 6px solid transparent !important;
    border-top-color: #333 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    z-index: 1001 !important;
    pointer-events: none !important;
}

.vplugin-renewal-checkout-wrapper .info-icon:hover::before,
.vplugin-renewal-checkout-wrapper .info-icon:hover::after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.vplugin-renewal-checkout-wrapper .info-icon svg {
    width: 16px !important;
    height: 16px !important;
}

/* VAT Invoice Fields - Mobile Responsive */
@media (max-width: 768px) {
    .vplugin-renewal-checkout-wrapper .vat-invoice-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-vat-invoice-fields {
        padding: 15px;
    }
    
    .vplugin-renewal-checkout-wrapper .vat-invoice-form input {
        margin-bottom: 0 !important;
    }
    
    .vplugin-renewal-checkout-wrapper .info-icon::before,
    .vplugin-renewal-checkout-wrapper .vplugin-renewal-vat-section .info-icon::before {
        width: 250px !important;
        max-width: 85vw !important;
        font-size: 12px !important;
        padding: 10px 14px !important;
    }
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 5px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-btn-decrease,
.vplugin-renewal-checkout-wrapper .vplugin-cash-btn-increase {
    position: absolute;
    top: 5px;
    width: 52px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #e5e5e5;
    border: none;
    cursor: pointer;
    z-index: 1;
    padding: 0;
    transition: background 0.2s;
    margin-bottom: 0px;
    margin-right: 0px;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-btn-decrease:hover,
.vplugin-renewal-checkout-wrapper .vplugin-cash-btn-increase:hover {
    background: #d4d4d4;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-btn-decrease {
    left: 5px;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-btn-increase {
    right: 5px;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-amount-input {
    width: 100%;
    min-height: 45px;
    border: 1px solid #d1d5db;
    border-radius: 99px !important;
    text-align: center;
    font-size: 16px;
    color: #171717;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    transition: background 0.2s ease;
    box-shadow: none !important;
    padding: 0px;
    margin-bottom: 0px !important;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-amount-input::-webkit-inner-spin-button,
.vplugin-renewal-checkout-wrapper .vplugin-cash-amount-input::-webkit-outer-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-amount-input:focus {
    outline: none;
    border-color: #6b7280;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-apply-btn {
    height: 48px;
    padding: 0px 40px;
    background: var(--vplugin-color-primary, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 0px;
    margin-bottom: 0px;
    width: auto;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-apply-btn:hover {
    background: #333;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-apply-btn:disabled,
.vplugin-renewal-checkout-wrapper .vplugin-cash-apply-btn.loading {
    background: #9ca3af;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.7;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-status {
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-applied-message {
    color: #0d7416;
    font-size: 14px;
    margin: 0;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-remove-btn {
    color: #ef4444;
    font-size: 13px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-transform: none;
    margin-right: 0px;
    transition: color 0.2s ease;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-remove-btn:hover {
    color: #dc2626;
}

.vplugin-renewal-checkout-wrapper .vplugin-cash-remove-btn:disabled,
.vplugin-renewal-checkout-wrapper .vplugin-cash-remove-btn.loading {
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.7;
}


@media (max-width: 849px) {
    .vplugin-renewal-checkout-wrapper .vplugin-cash-form {
        flex-direction: column;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-cash-apply-btn {
        width: 100%;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-coupon-label-floating {
        font-size: 12px;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-coupon-card {
        min-width: 280px;
        max-width: 100%;
        width: 280px;
    }
    
    .vplugin-renewal-checkout-wrapper .vplugin-coupon-cards {
        gap: 12px;
    }
}

/* ============================================
   Coupon Modal Styles for Renewal Checkout
   ============================================ */

.vplugin-coupon-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vplugin-coupon-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.vplugin-coupon-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.vplugin-coupon-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    min-height: 36px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #333;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10002;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0px;
}

.vplugin-coupon-modal-close:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.vplugin-coupon-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #eee;
}

.vplugin-coupon-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0;
    padding-right: 40px;
}

.vplugin-coupon-modal-body {
    padding: 24px;
}

.vplugin-coupon-modal-section {
    margin-bottom: 24px;
}

.vplugin-coupon-modal-section:last-child {
    margin-bottom: 0;
}

.vplugin-coupon-modal-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
}

.vplugin-coupon-modal-text {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.vplugin-coupon-modal-description {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.vplugin-coupon-modal-date {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.vplugin-coupon-modal-conditions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vplugin-coupon-modal-conditions li {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.vplugin-coupon-modal-conditions li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

.vplugin-coupon-modal-conditions li:last-child {
    margin-bottom: 0;
}

@media (max-width: 849px) {
    .vplugin-renewal-checkout-title{
        font-size:24px;
        margin: 0 0 10px 0;
    }
    .vplugin-coupon-modal {
        align-items: flex-end;
        justify-content: center;
        z-index: 10020;
    }
    
    .vplugin-coupon-modal-content {
        max-width: 100%;
        width: 100%;
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
    }
    
    .vplugin-coupon-modal.show .vplugin-coupon-modal-content {
        transform: translateY(0);
    }
    
    .vplugin-coupon-modal-overlay {
        opacity: 0;
        transition: opacity 0.3s ease-out;
    }
    
    .vplugin-coupon-modal.show .vplugin-coupon-modal-overlay {
        opacity: 1;
    }
    
    .vplugin-coupon-modal-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        background: #000;
        border: none;
        color: #fff;
        z-index: 10012;
    }
    
    .vplugin-coupon-modal-close svg {
        width: 24px;
        height: 24px;
    }
    
    .vplugin-coupon-modal-header {
        padding: 20px 20px 16px;
        padding-top: 60px;
    }
    
    .vplugin-coupon-modal-title {
        font-size: 28px;
        padding-right: 50px;
    }
    
    .vplugin-coupon-modal-body {
        padding: 20px;
        padding-bottom: 40px;
    }
}
span#vplugin-coupon-remove-code{
    font-weight: bold  ;
    text-transform: uppercase;
}