/**
 * WooCommerce Modern Account - Styles
 * 
 * @package WC_Modern_Account
 * @version 1.0.0
 */

/* Reset and Base Styles */


.order-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.order-actions .btn-view,
.order-actions .btn-pay-order,
.order-actions .btn-cancel-order {
    margin-left: 0 !important;
    text-align: center;
    width: 100%;
}






.woocommerce-modern-account * {
    box-sizing: border-box;
    margin: 0;
    /* padding: 0; */
}

/* max-height: none seulement pour payment-methods, pas pour meal-bookmarks */
.woocommerce-modern-account:not(:has(.meal-bookmark-dashboard)) * {
    max-height: none!important;
}

.woocommerce-modern-account {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Main App Layout */
.wc-modern-account-app {
    display: flex;
    min-height: 600px;
    background: #f7f8fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
}

/* Sidebar */
.account-sidebar {
    width: 280px;
    background: #ffffff;
    color: #1e293b;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-right: 1px solid #e2e8f0;
}

.user-info {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: none;
    color: #2BB355;
    border: 2px solid #2BB355;
}

.user-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 600;
}

.user-info p {
    font-size: 14px;
    opacity: 1;
    color: #64748b;
}

/* Navigation */
.account-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    width: 100%;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #e1dede;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item:hover {
    background: #f8fafc;
    transform: none;
    color: #0f172a;
}

.nav-item.active {
    background: #f0fdf4;
    color: #0f172a;
    font-weight: 600;
    box-shadow: none;
    border-left-color: #2BB355;
}

.nav-icon {
    font-size: 20px;
}

.nav-label {
    flex: 1;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    margin-top: 10px;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}

.logout-btn:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.logout-btn .nav-icon {
    font-size: 14px;
}

.logout-btn .nav-label {
    flex: none;
}

/* Mobile logout button */
@media (max-width: 992px) {
    .account-sidebar {
        position: relative;
    }

    .logout-btn {
        position: absolute;
        top: 18px;
        right: 18px;
        padding: 6px 12px;
        font-size: 12px;
        gap: 5px;
        max-width: none;
        margin: 0;
        background: transparent;
        border: 1px solid #e1dede;
        color: #64748b;
        border-radius: 4px;
    }

    .logout-btn:hover {
        background: #dc2626;
        border-color: #dc2626;
        color: #fff;
    }

    .logout-btn .nav-icon {
        font-size: 12px;
    }

    .logout-btn .nav-label {
        font-size: 12px;
        font-weight: 500;
    }
}

/* ============================================
   Gift Cards Styles
   ============================================ */

.wc-giftcards {
    max-width: 1200px;
}

/* Gift Cards Header */
.giftcards-header {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #2BB355 0%, #2BB355 100%);
    border-radius: 8px;
    color: white;
}

.giftcards-header h2 {
    margin: 0 0 10px 0 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    color: white !important;
    display: block !important;
}

.balance-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.balance-amount {
    font-size: 36px;
    font-weight: bold;
}

.balance-amount .woocommerce-Price-amount {
    color: white;
}

/* Redeem Section */
.giftcard-redeem-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.giftcard-redeem-section h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.giftcard-redeem-form .form-row {
    display: flex;
    gap: 10px;
}

.giftcard-code-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: border-color 0.3s;
}

.giftcard-code-input:focus {
    outline: none;
    border-color: #2BB355;
}

.giftcard-code-input::placeholder {
    letter-spacing: normal;
    font-family: inherit;
}

.btn-redeem {
    padding: 12px 24px;
    background: #2bb351;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-redeem:hover:not(:disabled) {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

.btn-redeem:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Message Display */
.message {
    margin-bottom: 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gift Cards Tables */
.active-giftcards-section,
.giftcard-activity-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.active-giftcards-section h2,
.giftcard-activity-section h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
}

.table-responsive {
    overflow-x: auto;
}

.giftcards-table,
.giftcard-activity-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.giftcards-table thead,
.giftcard-activity-table thead {
    background: #f8f9fa;
}

.giftcards-table th,
.giftcard-activity-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid #e0e0e0;
}

.giftcards-table td,
.giftcard-activity-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.giftcards-table tbody tr:hover,
.giftcard-activity-table tbody tr:hover {
    background: #f8f9fa;
}

.giftcard-code {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    letter-spacing: 1px;
}

.pending-balance-note {
    font-size: 12px;
    color: #999;
}

.empty-state {
    text-align: center;
    padding: 40px 20px !important;
    color: #999;
    font-style: italic;
}

/* Pagination */
.woocommerce-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.woocommerce-pagination button {
    padding: 8px 16px;
    background: white;
    color: #2BB355;
    border: 2px solid #2BB355;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.woocommerce-pagination button:hover {
    background: #2BB355;
    color: white;
}

.page-numbers {
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .giftcard-redeem-form .form-row {
        flex-direction: column;
    }
    
    .btn-redeem {
        width: 100%;
    }
    
    .balance-amount {
        font-size: 28px;
    }
    
    .giftcards-table,
    .giftcard-activity-table {
        font-size: 12px;
    }
    
    .giftcards-table thead,
    .giftcard-activity-table thead {
        display: none;
    }
    
    .giftcards-table tr,
    .giftcard-activity-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
    }
    
    .giftcards-table td,
    .giftcard-activity-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px 15px;
        border: none;
    }
    
    .giftcards-table td::before,
    .giftcard-activity-table td::before {
        content: attr(data-title);
        font-weight: 600;
        color: #666;
    }
    
    .woocommerce-pagination {
        flex-direction: column;
    }
    
    .woocommerce-pagination button {
        width: 100%;
    }
}

/* Remove Gift Card Button */
.gc-remove-btn {
    background: #dc3232 !important;
    background-color: #dc3232 !important;
    color: #fff !important;
    border: 1px solid #dc3232 !important;
    border-color: #dc3232 !important;
    padding: 8px 15px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.gc-remove-btn:hover:not(:disabled) {
    background: #a00 !important;
    background-color: #a00 !important;
    border-color: #a00 !important;
    color: #fff !important;
}

.gc-remove-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

/* Remove Confirmation Modal */
.wc-gc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-gc-modal {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wc-gc-modal h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #dc3232;
    font-size: 20px;
}

.wc-gc-modal p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.wc-gc-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.wc-gc-modal-close:hover {
    color: #333;
}

.wc-gc-modal-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.wc-gc-unredeem-btn {
    background: #dc3232 !important;
    color: #fff !important;
    border: 1px solid #dc3232 !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    cursor: pointer;
    border-radius: 3px;
}

.wc-gc-unredeem-btn:hover:not(:disabled) {
    background: #a00 !important;
    border-color: #a00 !important;
    color: #fff !important;
}

.wc-gc-unredeem-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   Points and Rewards Styles
   ============================================ */

.wc-points-rewards {
    max-width: 1200px;
}

/* Points Header */
.points-header {
    margin-bottom: 30px;
}

.points-header h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #333;
}

.points-balance-card {
    background: linear-gradient(135deg, #2BB355 0%, #2BB355 100%);
    border-radius: 16px;
    padding: 35px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.3);
    transition: transform 0.3s ease;
}

.points-balance-card:hover {
    transform: translateY(-5px);
}

.balance-info {
    flex: 1;
}

.points-amount {
    margin-bottom: 10px;
}

.points-number {
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.points-label {
    font-size: 24px;
    font-weight: 500;
    opacity: 0.95;
}

.points-value {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 8px;
}

.value-amount {
    font-weight: 600;
    font-size: 18px;
}

.points-icon {
    font-size: 80px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Points History Section */
.points-history-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.points-history-section h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
}

.points-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.points-history-table thead {
    background: #f8f9fa;
}

.points-history-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid #e0e0e0;
}

.points-history-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.points-history-table tbody tr:hover {
    background: #f8f9fa;
}

.points-positive {
    color: #28a745 !important;
}

.points-negative {
    color: #dc3545 !important;
}

/* Responsive Design for Points */
@media (max-width: 768px) {
    .points-balance-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .points-icon {
        font-size: 60px;
        margin-top: 15px;
    }
    
    .points-number {
        font-size: 36px;
    }
    
    .points-label {
        font-size: 20px;
    }
    
    .points-history-table thead {
        display: none;
    }
    
    .points-history-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
    }
    
    .points-history-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px 15px;
        border: none;
    }
    
    .points-history-table td::before {
        content: attr(data-title);
        font-weight: 600;
        color: #666;
    }
}

/* ============================================
   Affiliate Dashboard Styles - Ultra Responsive (350px+)
   ============================================ */

.wc-affiliate-dashboard {
    max-width: 1200px;
}

/* Affiliate Tabs Navigation */
.affiliate-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
}

.affiliate-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.affiliate-tab:hover {
    color: #2BB355;
    background: rgba(102, 126, 234, 0.05);
}

.affiliate-tab.active {
    color: #2BB355;
    border-bottom-color: #2BB355;
}

/* Date Filter Section */
.date-filter-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.date-inputs {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.date-input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.date-input-group label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.date-input {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 160px;
}

.date-input:focus {
    outline: none;
    border-color: #2BB355;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-reset-dates {
    padding: 10px 20px;
    background: #f0f0f0;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-dates:hover {
    background: #2BB355;
    color: white;
    border-color: #2BB355;
}

@media (max-width: 576px) {
    .date-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .date-input {
        width: 100%;
        min-width: auto;
    }
    
    .btn-reset-dates {
        width: 100%;
    }
}

/* Extended Stats Grid - 8 Cards (Better Spacing like Dashboard) */
.affiliate-stats-grid-extended {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .affiliate-stats-grid-extended {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 992px) {
    .affiliate-stats-grid-extended {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .affiliate-stats-grid-extended {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Stat Cards - Enhanced like Dashboard Cards */
.affiliate-stats-grid-extended .stat-card {
    background: #f7f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    min-height: 110px;
}

.affiliate-stats-grid-extended .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: inherit;
    background: white;
}

/* Additional Stat Card Colors */
.stat-visitors { 
    border-left-color: #6f42c1;
    background: linear-gradient(135deg, #f7f8fa 0%, #f5f3ff 100%);
}
.stat-customers { 
    border-left-color: #20c997;
    background: linear-gradient(135deg, #f7f8fa 0%, #e8f9f5 100%);
}
.stat-conversion { 
    border-left-color: #fd7e14;
    background: linear-gradient(135deg, #f7f8fa 0%, #fff3e6 100%);
}
.stat-sales {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f7f8fa 0%, #e8f5e9 100%);
}
.stat-gross {
    border-left-color: #17a2b8;
    background: linear-gradient(135deg, #f7f8fa 0%, #e3f2fd 100%);
}
.stat-net { 
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f7f8fa 0%, #e8f5e9 100%);
}
.stat-total { 
    border-left-color: #007bff;
    background: linear-gradient(135deg, #f7f8fa 0%, #e7f3ff 100%);
}
.stat-unpaid {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #f7f8fa 0%, #fff8e1 100%);
}

.affiliate-stats-grid-extended .stat-icon {
    font-size: 48px;
    flex-shrink: 0;
    opacity: 0.8;
}

.affiliate-stats-grid-extended .stat-content {
    flex: 1;
    min-width: 0;
}

.affiliate-stats-grid-extended .stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.affiliate-stats-grid-extended .stat-value {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    word-break: break-word;
    line-height: 1.2;
}

@media (max-width: 576px) {
    .affiliate-stats-grid-extended .stat-card {
        padding: 20px;
        min-height: 90px;
    }
    
    .affiliate-stats-grid-extended .stat-icon {
        font-size: 36px;
    }
    
    .affiliate-stats-grid-extended .stat-label {
        font-size: 12px;
    }
    
    .affiliate-stats-grid-extended .stat-value {
        font-size: 22px;
    }
}

/* Profile Tab */
.affiliate-profile-tab {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.affiliate-profile-tab h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
}

.profile-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #2BB355;
}

.profile-section h3 {
    color: #2BB355;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-item label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.referral-url-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.referral-url-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    color: #333;
    font-family: 'Courier New', monospace;
}

.referral-url-input:focus {
    outline: none;
    border-color: #2BB355;
}

.btn-copy {
    padding: 12px 20px;
    background: #2bb351;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-copy:hover {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

.bank-info {
    background: white;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #333;
    white-space: pre-wrap;
    margin: 0;
}

.profile-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    border-radius: 4px;
}

.profile-note p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

/* Affiliate ID Section */
.affiliate-id-section {
    margin-bottom: 20px;
}

.affiliate-id-display-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.affiliate-id-display {
    display: block;
    font-size: 24px;
    color: #2BB355;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
}

.btn-edit-id {
    padding: 8px 16px;
    background: #2bb351;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-edit-id:hover {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

.edit-affiliate-id-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #2BB355;
    margin-bottom: 20px;
}

.affiliate-id-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.affiliate-id-input:focus {
    outline: none;
    border-color: #2BB355;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions-inline {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-save-id {
    padding: 10px 20px;
    background: #2bb351;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-id:hover:not(:disabled) {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

.btn-save-id:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel-id {
    padding: 10px 20px;
    background: #2bb351;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel-id:hover {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

@media (max-width: 768px) {
    .affiliate-id-display-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-edit-id {
        width: 100%;
    }
    
    .form-actions-inline {
        flex-direction: column;
    }
    
    .btn-save-id,
    .btn-cancel-id {
        width: 100%;
    }
}

.info-note {
    font-size: 13px;
    color: #666;
    margin: 10px 0 0 0;
    line-height: 1.6;
}

/* Coupons Table */
/* Referral Coupons Section */
.section-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.no-coupons {
    color: #888;
    font-style: italic;
    padding: 15px 0;
}

.coupon-request-notice {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}

.coupon-request-notice p {
    margin: 0;
    color: #0369a1;
    font-size: 14px;
}

.contact-link {
    color: #0284c7;
    text-decoration: underline;
    font-weight: 600;
}

.contact-link:hover {
    color: #0369a1;
}

.coupons-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.coupons-table thead {
    background: #f8f9fa;
}

.coupons-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid #e0e0e0;
}

.coupons-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.coupon-code {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #2BB355;
    font-weight: 600;
}

.coupon-amount {
    font-weight: 600;
    font-size: 16px;
    color: #28a745;
}

.coupon-note {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.link-contact {
    color: #2BB355;
    text-decoration: none;
    font-weight: 600;
}

.link-contact:hover {
    text-decoration: underline;
}

/* URL Generator */
.url-generator {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.url-generator .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.url-generator label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.site-url-display,
.target-path-input {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
}

.site-url-display {
    background: #f8f9fa;
    color: #999;
}

.target-path-input {
    background: white;
}

.target-path-input:focus {
    outline: none;
    border-color: #2BB355;
}

.btn-generate {
    padding: 10px 20px;
    background: #2bb351;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-generate:hover {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

.generated-url-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Payout Form */
.payout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payout-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payout-form label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.payout-method-select,
.paypal-email-input {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.payout-method-select:focus,
.paypal-email-input:focus {
    outline: none;
    border-color: #2BB355;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-help {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.btn-save-payout {
    padding: 12px 24px;
    background: #2bb351;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-save-payout:hover:not(:disabled) {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

.btn-save-payout:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.message.success {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .affiliate-profile-tab {
        padding: 20px;
    }
    
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    
    .referral-url-box {
        flex-direction: column;
    }
    
    .btn-copy {
        width: 100%;
    }
    
    .btn-generate,
    .btn-save-payout {
        width: 100%;
    }
    
    .coupons-table {
        font-size: 13px;
    }
}


/* Stats Grid - Responsive from 350px */
.affiliate-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .affiliate-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 400px) {
    .affiliate-stats-grid {
        gap: 10px;
    }
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.stat-sales { border-left-color: #28a745; }
.stat-gross { border-left-color: #17a2b8; }
.stat-paid { border-left-color: #ffc107; }
.stat-unpaid { border-left-color: #fd7e14; }

.stat-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    word-break: break-word;
}

/* Responsive stat cards for small screens */
@media (max-width: 400px) {
    .stat-card {
        padding: 15px;
        gap: 12px;
    }
    
    .stat-icon {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .stat-value {
        font-size: 20px;
    }
}

/* Section Tabs (Vue d'ensemble, Visites, Références, etc.) */
.section-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.section-tab {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: -2px;
}

.section-tab:hover {
    color: #2BB355;
    background: rgba(102, 126, 234, 0.05);
}

.section-tab.active {
    color: #2BB355;
    border-bottom-color: #2BB355;
}

@media (max-width: 768px) {
    .section-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .section-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .section-tab {
        padding: 10px 16px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Referrals Section */
.affiliate-referrals-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.affiliate-referrals-section h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
}

@media (max-width: 400px) {
    .affiliate-referrals-section {
        padding: 15px;
    }
    
    .affiliate-referrals-section h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* Desktop Table - Hidden on mobile */
.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* Referrals Table (Desktop) */
.referrals-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.referrals-table thead {
    background: #f8f9fa;
}

.referrals-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid #e0e0e0;
}

.referrals-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.referrals-table tbody tr:hover {
    background: #f8f9fa;
}

/* Mobile Card View - Optimized for 350px+ */
.referrals-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.referral-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
}

.referral-card:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.card-header {
    background: #f8fafc;
    color: #1e293b;
    padding: 12px 16px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-radius: 4px 4px 0 0;
    border-bottom: 2px solid #2BB355;
}

.card-order {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-weight: 600;
    flex: 1;
    min-width: 0;
}

.order-label {
    font-size: 12px;
    opacity: 1;
    color: #64748b;
}

.order-number {
    font-size: 16px;
    font-weight: bold;
    color: #1e293b;
}

.card-body {
    padding: 15px 20px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 10px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

.card-row:last-child {
    border-bottom: none;
}

.card-row-highlight {
    background: #f8f9fa;
   
}

.row-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
}

.row-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.row-value-commission {
    font-size: 16px;
    color: #28a745;
}

/* Extra small screens optimization (350px-400px) */
@media (max-width: 400px) {
    .referrals-cards-container {
        gap: 10px;
    }
    
    .card-header {
        padding: 10px 12px;
        flex-wrap: wrap;
    }
    
    .card-order {
        flex: 1 1 100%;
        margin-bottom: 5px;
    }
    
    .order-label {
        font-size: 11px;
    }
    
    .order-number {
        font-size: 15px;
    }
    
    .status-badge {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }
    
    .card-body {
        padding: 12px;
    }
    
    .card-row {
        padding: 6px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .card-row-highlight {
        margin: 0 -12px;
        padding: 10px 12px;
    }
    
    .row-label {
        font-size: 12px;
    }
    
    .row-value {
        font-size: 13px;
        text-align: left;
        width: 100%;
    }
    
    .row-value-commission {
        font-size: 15px;
    }
}

/* Pagination */
.referrals-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
    flex-wrap: wrap;
}

.referrals-pagination button {
    padding: 8px 16px;
    background: white;
    color: #2BB355;
    border: 2px solid #2BB355;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 14px;
}

.referrals-pagination button:hover:not(:disabled) {
    background: #2BB355;
    color: white;
}

.referrals-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile pagination optimization */
@media (max-width: 400px) {
    .referrals-pagination {
        gap: 8px;
    }
    
    .referrals-pagination button {
        padding: 6px 12px;
        font-size: 13px;
        flex: 1;
    }
    
    .page-info {
        font-size: 13px;
        width: 100%;
        text-align: center;
        order: -1;
        margin-bottom: 5px;
    }
}

/* Content Area */
.account-content {
    flex: 1;
    padding: 40px;
    background: white;
    overflow-y: auto;
    
}

.account-content h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1a1a1a;
    font-weight: 700;
}

.account-content h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #333;
    font-weight: 600;
}

/* Dashboard */
.dashboard-welcome {
    background: linear-gradient(135deg, #2BB355 0%, #15803d 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.dashboard-welcome h2 {
    color: white;
    margin-bottom: 10px;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.dashboard-card {
    background: #f7f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.dashboard-card-clickable {
    cursor: pointer;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #2BB355;
}

.dashboard-card-clickable:hover {
    background: white;
}

.dashboard-card-clickable:active {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 48px;
    
}

.dashboard-card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.dashboard-card p {
    font-size: 14px;
    color: #666;
}

/* Orders */
.orders-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e1e4e8;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    table-layout: auto;
}

.orders-table thead {
    background: #f7f8fa;
    border-bottom: 2px solid #e1e4e8;
}

.orders-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-table td {
    padding: 10px;
    border-bottom: 1px solid #e1e4e8;
}

.orders-table tbody tr:hover {
    background: #f7f8fa;
}

.order-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-processing {
    background: rgb(141 194 111 / 60%);
    color: #383d41;
}

.status-pending {
    background: #f8d7da;
    color: #721c24;
}

.status-on-hold {
    background: #d1ecf1;
    color: #0c5460;
}

.status-cancelled {
    background: #f5c6cb;
    color: #721c24;
}

.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.status-refunded {
    background: #e2e3e5;
    color: #383d41;
}

.btn-pay-order {
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    transition: background 0.2s ease;
}


.btn-cancel-order {
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    transition: background 0.2s ease;
}

.btn-cancel-order:hover {
    background: #c82333;
    color: white;
}

.btn-view {
    background: #2bb351;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

/* Order Detail */
.wc-order-detail {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-back {
    background: #2bb351;
    border: 1px solid #e1e4e8;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #ffffff;
    font-weight: 600;
}

.btn-back:hover {
    background: #e1e4e8;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e4e8;
}

.order-info {
    background: #f7f8fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.order-info p {
    margin-bottom: 10px;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.order-items-table th,
.order-items-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e1e4e8;
}

.order-items-table thead {
    background: #f7f8fa;
}

.item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Hide product images on mobile in order detail */
@media (max-width: 768px) {
    .order-items-table .item-image {
        display: none !important;
    }
}

.order-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.address-block {
    background: #f7f8fa;
    padding: 20px;
    border-radius: 8px;
}

.address-block h3 {
    margin-top: 0;
}

.address-block address {
    font-style: normal;
    line-height: 1.8;
}

/* Downloads */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.download-card {
    background: #f7f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.download-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.download-card h3 {
    font-size: 16px;
    margin: 10px 0;
}

.download-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.downloads-remaining,
.expires {
    font-size: 12px;
    color: #888;
}

.btn-download {
    display: inline-block;
    background: #2bb351;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

/* Addresses */
.addresses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.address-card {
    background: #f7f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 25px;
}

.address-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.address-card address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 20px;
}

.address-card .empty {
    color: #999;
    font-style: italic;
}

.btn-edit {
    background: #2bb351;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

/* Address Form */
.address-form {
    background: #f7f8fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e1e4e8;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-grid input {
    padding: 12px 16px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-grid input.full-width {
    grid-column: 1 / -1;
}

.form-grid input:focus {
    outline: none;
    border-color: #2BB355;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Select fields in address form */
.form-grid select,
.address-form select {
    padding: 12px 16px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
    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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-grid select:focus,
.address-form select:focus {
    outline: none;
    border-color: #2BB355;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-grid select:disabled,
.address-form select:disabled {
    background-color: #f7f8fa;
    color: #666;
    cursor: not-allowed;
}

.province-select,
.country-select {
    width: 100%;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.btn-save {
    background: #2bb351;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-save:hover {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

.btn-cancel {
    background: #f7f8fa;
    color: #333;
    border: 1px solid #e1e4e8;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #e1e4e8;
}

/* Account Details Form */
.account-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2BB355;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:disabled {
    background: #f7f8fa;
    color: #999;
    cursor: not-allowed;
}

.message {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* Loading & Empty States */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state p {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .wc-modern-account-app {
        flex-direction: column;
    }

    .account-sidebar {
        width: 100%;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .account-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
    }

    .nav-item {
        white-space: nowrap;
        border-bottom: none;
        border-right: 1px solid #e1dede;
        border-radius: 0;
        padding: 8px 14px;
    }

    .nav-item:last-child {
        border-right: none;
    }

    .nav-item.active {
        border-left-color: transparent;
        border-right: 1px solid #e1dede;
    }

    .account-content {
        padding: 30px 20px;
    }

    .addresses-grid,
    .order-addresses {
        grid-template-columns: 1fr;
    }

    .dashboard-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Transform orders table into cards on mobile */
    .orders-table {
        display: block;
    }
    
    .orders-table thead {
        display: none;
    }
    
    .orders-table tbody {
        display: block;
        max-height: none!important;
    }
    
    .orders-table tr {
        display: block;
        background: white;
        border: 1px solid #e1e4e8;
        border-radius: 12px;
        margin-bottom: 15px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .orders-table tr:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .orders-table td {
        display: block;
        padding: 10px 0;
        border: none;
        text-align: left !important;
    }
    
    .orders-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        display: block;
        margin-bottom: 5px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .orders-table td.order-actions {
        display: flex;
        gap: 10px;
        padding-top: 15px;
        margin-top: 10px;
        border-top: 1px solid #f0f0f0;
    }
    
    .orders-table td.order-actions::before {
        display: none;
    }
    
    .orders-table .btn-view,
    .orders-table .btn-download {
        flex: 1;
        text-align: center;
        padding: 10px;
    }
}


/* Orders Count */
.orders-count {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Orders Pagination */
.orders-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e1e4e8;
}

.btn-pagination {
    background: #2bb351;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-pagination:hover:not(:disabled) {
    background: var(--menu-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 81, 0.3) !important;
}

.btn-pagination:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.orders-pagination .page-info {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 576px) {
    .orders-pagination {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-pagination {
        width: 100%;
    }
    
    .orders-pagination .page-info {
        order: -1;
    }
}

@media (max-width: 576px) {
    .account-content {
        padding: 20px 15px;
    }

    .account-content h2 {
        font-size: 24px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .orders-table-wrapper {
        border: none;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-item {
    animation: slideIn 0.3s ease forwards;
}

.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }
.nav-item:nth-child(6) { animation-delay: 0.6s; }
.nav-item:nth-child(7) { animation-delay: 0.7s; }
.nav-item:nth-child(8) { animation-delay: 0.8s; }
.nav-item:nth-child(9) { animation-delay: 0.9s; }
.nav-item:nth-child(10) { animation-delay: 1.0s; }

/* Dynamic Endpoint Content */
.dynamic-endpoint-content {
    animation: fadeIn 0.3s ease;
}

.dynamic-endpoint-content h2,
.dynamic-endpoint-content h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #333;
}

.dynamic-endpoint-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dynamic-endpoint-content table th,
.dynamic-endpoint-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e4e8;
}

.dynamic-endpoint-content table th {
    background: #f7f8fa;
    font-weight: 600;
    color: #333;
}

.dynamic-endpoint-content table tr:hover {
    background: #f7f8fa;
}

.dynamic-endpoint-content .button,
.dynamic-endpoint-content button,
.dynamic-endpoint-content input[type="submit"],
.dynamic-endpoint-content .woocommerce-button {
    background: #2BB355;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.dynamic-endpoint-content .button:hover,
.dynamic-endpoint-content button:hover,
.dynamic-endpoint-content input[type="submit"]:hover,
.dynamic-endpoint-content .woocommerce-button:hover {
    background: #239544;
}

.dynamic-endpoint-content form {
    max-width: 600px;
}

.dynamic-endpoint-content input[type="text"],
.dynamic-endpoint-content input[type="email"],
.dynamic-endpoint-content input[type="password"],
.dynamic-endpoint-content input[type="number"],
.dynamic-endpoint-content select,
.dynamic-endpoint-content textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.dynamic-endpoint-content input[type="text"]:focus,
.dynamic-endpoint-content input[type="email"]:focus,
.dynamic-endpoint-content input[type="password"]:focus,
.dynamic-endpoint-content input[type="number"]:focus,
.dynamic-endpoint-content select:focus,
.dynamic-endpoint-content textarea:focus {
    outline: none;
    border-color: #2BB355;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.dynamic-endpoint-content .woocommerce-message,
.dynamic-endpoint-content .woocommerce-info,
.dynamic-endpoint-content .woocommerce-error {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.dynamic-endpoint-content .woocommerce-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.dynamic-endpoint-content .woocommerce-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.dynamic-endpoint-content .woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   Affiliate Referral Banner Styles
   ============================================ */

.affiliate-referral-banner {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2BB355;
    border-radius: 4px;
    padding: 24px 28px;
    margin-bottom: 25px;
    color: #1e293b;
    box-shadow: none;
}

.referral-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.referral-banner-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.referral-banner-text h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.referral-banner-text p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    opacity: 1;
}

.referral-banner-url {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.referral-banner-url .referral-url-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    color: #334155;
    font-family: 'Courier New', monospace;
}

.referral-banner-url .referral-url-input::placeholder {
    color: #94a3b8;
}

.referral-banner-url .btn-copy {
    padding: 10px 18px;
    background: #2BB355;
    /* color: #fff;*/
    
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.referral-banner-url .btn-copy:hover {
    background: #239544 !important;
    transform: none !important;
    box-shadow: none !important;
}

.referral-banner-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #94a3b8;
    opacity: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .affiliate-referral-banner {
        padding: 20px;
    }
    
    .referral-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .referral-banner-icon {
        font-size: 40px;
    }
    
    .referral-banner-text h3 {
        font-size: 18px;
    }
    
    .referral-banner-text p {
        font-size: 14px;
    }
    
    .referral-banner-url {
        flex-direction: column;
    }
    
    .referral-banner-url .btn-copy {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .affiliate-referral-banner {
        padding: 15px;
    }
    
    .referral-banner-url .referral-url-input {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .referral-banner-url .btn-copy {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* Referral Method Sections in Banner */
.referral-method-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.referral-method-section:first-of-type {
    margin-top: 18px;
}

.referral-method-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Coupons List in Banner */
.referral-coupons-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.referral-coupon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.coupon-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.coupon-code-display {
    background: #f1f5f9;
    color: #2BB355;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.coupon-discount {
    font-size: 13px;
    color: #64748b;
}

.btn-copy-coupon {
    padding: 6px 14px;
    background: #2BB355;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.btn-copy-coupon:hover {
    background: #239544;
    transform: none;
}

/* No Coupon Section */
.no-coupon-section {
    background: #fff;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-top: 14px;
}

.no-coupon-message {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.request-coupon-link {
    color: #2BB355;
    text-decoration: underline;
    font-weight: 600;
}

.request-coupon-link:hover {
    color: #15803d;
}

@media (max-width: 576px) {
    .referral-coupon-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .coupon-info {
        justify-content: center;
        text-align: center;
    }
    
    .btn-copy-coupon {
        width: 100%;
    }
}

/* ============================================
   Foubouffe Light — Ultra-Clean Style Overrides
   ============================================ */

/* App container — flat, no heavy shadow */
.wc-modern-account-app {
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    background: #fff;
}

/* Sidebar — white/light background, border separator */
.account-sidebar {
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    color: #1e293b;
}

/* User avatar — light bg, green accent */
.user-avatar {
    background: #f1f5f9;
    border: 2px solid #2BB355;
    box-shadow: none;
    width: 60px;
    height: 60px;
    font-size: 24px;
    color: #2BB355;
}

/* User info text */
.user-info {
    border-bottom: 1px solid #e2e8f0;
}
.user-info h3 {
    font-size: 17px;
    color: #0f172a;
    font-weight: 700;
}
.user-info p {
    color: #64748b;
}

/* Navigation items — flat, border-left indicator on white */
.nav-item {
    background: transparent;
    border-radius: 0;
    padding: 11px 14px;
    font-size: 14px;
    transition: background 0.15s, color 0.15s;
    border-left: 3px solid transparent;
    gap: 10px;
    color: #334155;
    font-weight: 500;
    border-bottom: 1px solid #e1dede;
}
.nav-item:last-child {
    border-bottom: none;
}
.nav-item:hover {
    background: #f8fafc;
    transform: none;
    color: #0f172a;
}
.nav-item.active {
    background: #f0fdf4;
    color: #0f172a;
    box-shadow: none;
    border-left-color: #2BB355;
    font-weight: 600;
    border-bottom: 1px solid #e1dede;
}

/* Nav icon — subtle */
.nav-icon {
    font-size: 16px;
    opacity: 0.7;
}
.nav-item:hover .nav-icon {
    opacity: 0.9;
}
.nav-item.active .nav-icon {
    opacity: 1;
}

/* Logout button — clean on white */
.logout-btn {
    background: transparent;
    border: 1px solid #e1dede;
    color: #64748b;
    border-radius: 4px;
    transition: all 0.15s;
    font-weight: 500;
    margin-top: 8px;
    padding-top: 10px;
}
.logout-btn:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: none;
    box-shadow: none;
}

/* Dashboard welcome banner — flat with left border */
.dashboard-welcome {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2BB355;
    border-radius: 4px;
    color: #1e293b;
}
.dashboard-welcome h2 {
    color: #1e293b;
}
.dashboard-welcome p {
    color: #64748b;
}

/* Dashboard cards — flat, no bounce */
.dashboard-card {
    border-radius: 4px;
    transition: border-color 0.15s, background 0.15s;
}
.dashboard-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #2BB355;
    background: #f8fafc;
}
.dashboard-card .card-icon {
    font-size: 30px;
}

/* All buttons — no bounce on hover */
.btn-view,
.btn-save,
.btn-edit,
.btn-download,
.btn-redeem,
.btn-copy,
.btn-generate,
.btn-save-payout,
.btn-save-id,
.btn-cancel-id,
.btn-edit-id,
.btn-back,
.btn-pagination {
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}
.btn-view:hover,
.btn-save:hover,
.btn-edit:hover,
.btn-download:hover,
.btn-redeem:hover:not(:disabled),
.btn-copy:hover,
.btn-generate:hover,
.btn-save-payout:hover:not(:disabled),
.btn-save-id:hover:not(:disabled),
.btn-cancel-id:hover,
.btn-edit-id:hover,
.btn-back:hover,
.btn-pagination:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Points balance card — flat */
.points-balance-card {
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2BB355;
    background: #f8fafc;
    color: #1e293b;
}
.points-balance-card:hover {
    transform: none;
}
.points-number {
    color: #1e293b;
    text-shadow: none;
}
.points-label {
    color: #64748b;
}
.points-value {
    color: #2BB355;
}
.points-icon {
    animation: none;
    display: none;
}

/* Affiliate stat cards — flat, no bounce */
.affiliate-stats-grid-extended .stat-card {
    border-radius: 4px;
    background: #fff;
}
.affiliate-stats-grid-extended .stat-card:hover {
    transform: none;
}
.stat-visitors, .stat-customers, .stat-conversion,
.stat-sales, .stat-gross, .stat-net, .stat-total, .stat-unpaid {
    background: #fff;
}

/* Affiliate tabs — green instead of purple */
.affiliate-tab:hover {
    color: #2BB355;
    background: rgba(43, 179, 85, 0.05);
}
.affiliate-tab.active {
    color: #2BB355;
    border-bottom-color: #2BB355;
}

/* Profile section — green accent */
.profile-section {
    border-left-color: #2BB355;
    border-radius: 4px;
}
.profile-section h3 {
    color: #2BB355;
}

/* Forms — green focus instead of purple */
.giftcard-code-input:focus,
.date-input:focus,
.referral-url-input:focus,
.affiliate-id-input:focus,
.target-path-input:focus,
.payout-method-select:focus,
.paypal-email-input:focus {
    border-color: #2BB355;
    box-shadow: 0 0 0 3px rgba(43, 179, 85, 0.1);
}
.edit-affiliate-id-form {
    border-color: #2BB355;
}

/* Pagination — green */
.woocommerce-pagination button {
    color: #2BB355;
    border-color: #2BB355;
}
.woocommerce-pagination button:hover {
    background: #2BB355;
    color: white;
}

/* Affiliate ID display */
.affiliate-id-display {
    color: #2BB355;
}

/* Coupon code */
.coupon-code {
    color: #2BB355;
}

/* Link contact */
.link-contact {
    color: #2BB355;
}

/* Order status badges — square */
.order-status {
    border-radius: 4px;
}

/* Tables — cleaner borders */
.orders-table,
.order-items-table {
    border-radius: 4px;
}

/* Gift Cards header — flat green */
.giftcards-header {
    border-radius: 4px;
}

/* Sections with box-shadow — use border instead */
.giftcard-redeem-section,
.active-giftcards-section,
.giftcard-activity-section,
.points-history-section,
.date-filter-section,
.affiliate-profile-tab {
    box-shadow: none;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

/* Address cards — flat */
.address-card {
    border-radius: 4px;
}

/* Account form — flat */
.wc-account-details,
.wc-addresses,
.wc-orders-list {
    border-radius: 4px;
}

/* Referral banner — flat */
.referral-banner {
    border-radius: 4px;
}

/* Stat cards — flat */
.stat-card {
    border-radius: 4px;
}

/* Modals — less rounded */
.wc-gc-modal {
    border-radius: 4px;
}

/* Remove all slideIn animations for nav items */
@keyframes slideIn {
    from { opacity: 1; transform: none; }
    to { opacity: 1; transform: none; }
}

/* Remove float animation */
@keyframes float {
    0%, 50%, 100% { transform: none; }
}

/* Content area */
.account-content {
    background: #fff;
}

/* Loading spinner — green */
.wc-modern-spinner {
    border-top-color: #2BB355;
}

/* Dynamic endpoint content links */
.dynamic-endpoint-content a {
    color: #2BB355;
}
.dynamic-endpoint-content a:hover {
    color: #15803d;
}

/* Dashboard cards grid — slightly tighter gap */
.dashboard-cards {
    gap: 14px;
}

/* Form inputs focus */
.account-form input:focus,
.account-form select:focus,
.form-grid input:focus,
.form-grid select:focus {
    border-color: #2BB355;
    box-shadow: 0 0 0 3px rgba(43, 179, 85, 0.1);
}

/* Order detail — clean */
.wc-order-detail {
    border-radius: 4px;
}

/* Orders pagination */
.orders-pagination .btn-pagination {
    border-radius: 4px;
}

/* Payment methods — green accents */
.wc-payment-methods .btn-add-payment,
.wc-payment-methods .btn-set-default {
    border-radius: 4px;
}

/* Delivery notes — green accent */
.wc-delivery-notes .btn-save-note {
    border-radius: 4px;
}
