.agenwebsite-shipping-settings, .wp-core-ui .notice.is-dismissible {
    max-width: 1100px;
}

.agenwebsite-head:after {
    content: " ";
    clear: both;
    display: block;
}

.agenwebsite-head .logo {
    float: right;
}

.agenwebsite-head .logo img {
    max-height: 20px;
    height: auto;
    margin-top: 10px;
}

.agenwebsite-head .description {
    float: left;
}

.tab-wrapper:after {
    content: " ";
    clear: both;
    display: block;
}

.tab-wrapper {
    border-bottom: 1px solid #ddd;
}

#agenwebsite-status {
    width: 400px;
    position: absolute;
    right: 20px;
    top: 50px;
    z-index: 999;
}

#agenwebsite-status .load_status {
    text-align: center;
}

#agenwebsite-status thead th {
    font-weight: bold;
}

#agenwebsite-status mark.no {
    color: red;
    background-color: transparent;
}

#agenwebsite-status mark.yes {
    color: #7ad03a;
    background-color: transparent;
}

.color-red {
    color: red;
}

.overlay-disabled-section {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.overlay-disabled-section::after {
    content: "🔒 PRO Feature";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

/* Modern Upgrade Banner */
.aw-upgrade-banner {
    background: #667eea;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    border: none;
}

.aw-upgrade-content {
    display: flex;
    align-items: center;
    padding: 24px;
    gap: 20px;
}

.aw-upgrade-icon {
    flex-shrink: 0;
}

.aw-upgrade-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.aw-upgrade-text {
    flex: 1;
    color: #fff;
}

.aw-upgrade-text h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.aw-upgrade-text p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

.aw-premium-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.aw-upgrade-action {
    flex-shrink: 0;
    text-align: center;
}

.aw-upgrade-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #667eea;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.aw-upgrade-btn:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #667eea;
    text-decoration: none;
}

.aw-upgrade-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.aw-upgrade-note {
    margin: 8px 0 0 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .aw-upgrade-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .aw-premium-features {
        justify-content: center;
    }
}

/* Premium Feature Disabled State */
.overlay-disabled-section .form-table {
    position: relative;
}

.overlay-disabled-section .form-table tr {
    position: relative;
}

.overlay-disabled-section input,
.overlay-disabled-section select,
.overlay-disabled-section textarea {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    cursor: not-allowed !important;
}

.overlay-disabled-section .wc-enhanced-select {
    background-color: #f5f5f5 !important;
}

/* Legacy disabled section (fallback) */
.disabled-section {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    color: #fff;
    text-align: center;
}

.disabled-section p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* Premium Feature Notice for Meta Boxes */
.aw-premium-feature-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 16px;
    border-radius: 8px;
    color: #fff;
    margin: 10px 0;
}

.aw-premium-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.aw-premium-content h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.aw-premium-content p {
    margin: 0 0 12px 0;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.95;
}

.aw-premium-content .button {
    background: #fff;
    color: #f5576c;
    border: none;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.aw-premium-content .button:hover {
    background: #f8f9ff;
    color: #f5576c;
    transform: translateY(-1px);
}

/* Frontend Premium Notice */
.aw-frontend-premium-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px;
    border-radius: 8px;
    color: #fff;
    margin: 16px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.aw-frontend-premium-notice .aw-premium-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.aw-frontend-premium-notice .aw-premium-text h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.aw-frontend-premium-notice .aw-premium-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.95;
}

.aw-frontend-premium-notice .aw-premium-text a {
    color: #ffd700;
    text-decoration: underline;
    font-weight: 600;
}

.aw-frontend-premium-notice .aw-premium-text a:hover {
    color: #fff;
    text-decoration: none;
}

#maps {
    width: 100%;
    height: 500px;
}
.pac-card {
    margin: 10px 10px 0 0;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}

#pac-container {
    padding-bottom: 12px;
    margin-right: 12px;
}

.pac-controls {
    display: inline-block;
    padding: 5px 11px;
}

.pac-controls label {
    font-size: 13px;
    font-weight: 300;
}

#pac-input:focus {
    border-color: #4d90fe;
}

#title {
    color: #fff;
    background-color: #4d90fe;
    font-size: 25px;
    font-weight: 500;
    padding: 6px 12px;
}

#target {
    width: 345px;
}

.error-maps {
    color: #ff0000;
    display: block;
}

.wrap-google_maps td {
    position: relative;
}

/* ========================================
   Enhanced Admin Interface Styles
   ======================================== */

/* ========================================
   Navigation and Sidebar Styles
   ======================================== */

/* Top Navigation Bar */
.aw-top-nav {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-bottom: none;
    margin: 20px 0 0 0;
}

.aw-top-nav-item {
    flex: 0 0 auto;
    padding: 20px 18px;
    color: #50575e;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    border-right: 1px solid #e5e5e5;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.aw-top-nav-item:hover {
    background: #fff;
    color: #2271b1;
}

.aw-top-nav-item.active {
    background: #FFF;
    color: #1d2327;
    font-weight: 500;
    box-shadow: inset 0 2px 0 #2271b1;
}

.aw-top-nav-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

/* Settings Container with Sidebar */
.aw-settings-container {
    display: flex;
    gap: 0;
    background: #fff;
    min-height: 600px;
}

/* Left Sidebar - Ultra Thin Design */
.aw-sidebar {
    width: 250px;
    background: #ffffff;
    border-right: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.aw-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aw-sidebar-menu li {
    margin: 0;
    border: none;
    position: relative;
}

.aw-sidebar-menu li a {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 18px;
    color: #000;
    text-decoration: none;
    font-size: 13px;
    position: relative;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.aw-sidebar-menu li a:hover {
    background: #f8f8f8;
    color: #23282d;
}

.aw-sidebar-menu li.active a {
    background: #fff5f5;
    color: #ff6155;
    border-left-color: #ff6155;
}

.aw-sidebar-menu li.active .aw-menu-icon {
    color: #ff6155;
}

/* Menu Icon */
.aw-menu-icon {
    font-size: 15px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    color: #82878c;
    margin-top: 1px;
}

.aw-sidebar-menu li a:hover .aw-menu-icon {
    color: #50575e;
}

/* Menu Content */
.aw-menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aw-menu-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: inherit;
}

.aw-menu-desc {
    font-size: 11px;
    font-weight: 400;
    color: #82878c;
    line-height: 1.3;
}

.aw-sidebar-menu li.active .aw-menu-desc {
    color: #ff9a92;
}

/* PRO Badge - Ultra Thin Style */
.aw-pro-badge {
    display: inline-block;
    background: #ff6900;
    color: #ffffff;
    font-size: 8px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-left: 4px;
    vertical-align: middle;
    line-height: 1;
}

.aw-sidebar-menu li.active .aw-pro-badge {
    background: #ff6155;
}

/* Premium items with subtle effect */
.aw-sidebar-menu li.premium-item a {
    position: relative;
}

.aw-sidebar-menu li.premium-item:not(.active) a:hover {
    background: #fef5f0;
}

/* Content Area */
.aw-content-area {
    flex: 1;
    background: #fff;
    overflow-x: auto;
}

/* When not in settings section */
@media screen and (max-width: 960px) {
    .aw-settings-container {
        flex-direction: column;
    }
    
    .aw-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .aw-sidebar-menu {
        display: flex;
        overflow-x: auto;
    }
    
    .aw-sidebar-menu li {
        flex: 0 0 auto;
        border-bottom: none;
        border-right: 1px solid #e5e5e5;
    }
    
    .aw-sidebar-menu li:last-child {
        border-right: none;
    }
    
    .aw-sidebar-menu li.active a {
        border-left: none;
        border-bottom: 3px solid #ff6155;
    }
}

@media screen and (max-width: 600px) {
    .aw-top-nav-item {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .aw-sidebar-menu li a {
        padding: 12px;
        font-size: 12px;
    }
    
    .aw-content-area {
        padding: 20px;
    }
    
    .aw-menu-desc {
        display: none;
    }
    
    .aw-menu-content {
        align-items: center;
    }
    
    .aw-sidebar {
        width: auto;
    }
    
    .aw-sidebar-menu li a {
        justify-content: center;
    }
}

/* Help Section Styling */
.help-section-content {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.6;
}

.help-section-content h4 {
    color: #0369a1;
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-section-content ol, 
.help-section-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.help-section-content li {
    margin-bottom: 8px;
    color: #374151;
}

.help-section-content strong {
    color: #1e293b;
    font-weight: 600;
}

.help-section-content a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
}

.help-section-content a:hover {
    text-decoration: underline;
    color: #0284c7;
}

.maps-help-section {
    max-width: none;
}

.maps-help-section ol li,
.maps-help-section ul li {
    position: relative;
    padding-left: 8px;
}

.maps-help-section ol li strong,
.maps-help-section ul li strong {
    color: #0369a1;
}

/* Section Titles */
.settings-section-title {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #2271b1;
    padding: 15px 20px;
    margin: 20px 0 0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-title-wrapper h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-wrapper h3 .dashicons {
    color: #2271b1;
    font-size: 18px;
}

.section-description {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* Form Field Styling */
.form-table th {
    position: relative;
    padding: 18px 20px;
    font-weight: 500;
    color: #374151;
    background: #fafafa;
    border-bottom: 1px solid #e5e7eb;
}

.form-table th label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.form-table th .dashicons {
    color: #6b7280;
    font-size: 16px;
}

.form-table td {
    padding: 18px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

/* Required Field Indicators */
.required-indicator {
    color: #dc2626;
    font-weight: bold;
    font-size: 16px;
    margin-right: 4px;
}

.required-text {
    color: #dc2626;
    font-weight: 600;
}

.preview-indicator {
    display: block;
    color: #8b5cf6;
    font-style: italic;
    margin-top: 6px;
    font-weight: 500;
}

/* Input Field Styling */
.form-table input[type="text"],
.form-table input[type="number"],
.form-table input[type="email"],
.form-table input[type="url"],
.form-table textarea,
.form-table select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
}

.form-table textarea {
    min-height: 100px;
    resize: vertical;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
}

.form-table input[type="text"]:focus,
.form-table input[type="number"]:focus,
.form-table input[type="email"]:focus,
.form-table input[type="url"]:focus,
.form-table textarea:focus,
.form-table select:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Color Picker Styling */
.color-picker {
    width: 70px;
    height: 45px;
    border: 3px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-picker:hover {
    border-color: #2271b1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.wp-color-picker-wrap .wp-picker-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wp-color-picker-wrap .wp-picker-container .wp-color-result {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wp-color-picker-wrap .wp-picker-container .wp-color-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Checkbox Styling */
.form-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #2271b1;
}

/* Button Styling */
.test-api-key {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.test-api-key:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.test-api-key .dashicons {
    animation: none;
}

.test-api-key.testing .dashicons {
    animation: spin 1s linear infinite;
}

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

/* Test Result Styling */
.test-result {
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.test-result.success {
    background: #dcfce7;
    color: #166534;
}

.test-result.error {
    background: #fef2f2;
    color: #dc2626;
}

/* Field Description Styling */
.field-description {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #e2e8f0;
}

.field-description code {
    background: #f3f4f6;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
    color: #1f2937;
}

/* Preview Container */
.aw-frontend-preview {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.aw-frontend-preview:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.preview-container h4 {
    margin: 0 0 20px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-container h4::before {
    content: '🎆';
    font-size: 20px;
}

.preview-content {
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.preview-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06d6a0);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.aw-instant-button,
.aw-pinpoint-button {
    background: var(--aw-primary-color, #2271b1);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--aw-button-radius, 6px);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.aw-instant-button:hover,
.aw-pinpoint-button:hover {
    background: var(--aw-primary-color-dark, #1e5d8b);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.aw-instant-button::after,
.aw-pinpoint-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.aw-instant-button:active::after,
.aw-pinpoint-button:active::after {
    width: 300px;
    height: 300px;
}

.aw-instant-modal-preview,
.aw-pinpoint-modal-preview {
    margin-top: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    max-width: var(--aw-modal-width, 600px);
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

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

/* Pinpoint Modal Specific Styles */
.aw-pinpoint-modal-preview .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: var(--aw-primary-color, #2271b1);
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.map-search-box {
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.location-search {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.location-search:focus {
    outline: none;
    border-color: var(--aw-primary-color, #2271b1);
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.map-placeholder {
    height: var(--aw-map-height, 300px);
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    position: relative;
    overflow: hidden;
}

.map-marker {
    font-size: 48px;
    margin-bottom: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.location-info p {
    margin: 0 0 8px;
    color: #374151;
}

.address-text {
    color: #6b7280;
    font-style: italic;
}

.modal-actions {
    padding: 20px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #e5e7eb;
}

.btn-cancel,
.btn-confirm {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-cancel {
    background: #f1f5f9;
    color: #64748b;
}

.btn-cancel:hover {
    background: #e2e8f0;
    color: #475569;
}

.btn-confirm {
    background: var(--aw-primary-color, #2271b1);
    color: white;
}

.btn-confirm:hover {
    background: var(--aw-primary-color-dark, #1e5d8b);
    transform: translateY(-1px);
}

/* Courier option styling has been moved to field component */
/* See: /views/fields/field-courier-selector.php */

.modal-header {
    padding: 18px 24px;
    background: var(--aw-primary-color, #2271b1);
    color: white;
    font-weight: 700;
    font-size: 16px;
    border-radius: 10px 10px 0 0;
    position: relative;
    overflow: hidden;
}

.modal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: headerShine 3s infinite;
}

@keyframes headerShine {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.modal-body {
    padding: 24px;
    color: #374151;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-refresh {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.preview-refresh:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.preview-refresh:active {
    transform: translateY(0);
}

/* Enhanced Table Styling */
.wc_input_table {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.wc_input_table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #374151;
    font-weight: 600;
    padding: 12px 15px;
    font-size: 14px;
    border-bottom: 2px solid #e5e7eb;
}

.wc_input_table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    background: white;
}

.wc_input_table tr:hover td {
    background: #f8fafc;
}

.wc_input_table input[type="text"],
.wc_input_table input[type="number"] {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
    width: 100%;
}

.wc_input_table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2271b1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-table th,
    .form-table td {
        padding: 12px 15px;
    }
    
    .section-title-wrapper {
        padding: 12px 15px;
    }
    
    .aw-frontend-preview {
        padding: 16px;
    }
    
    .preview-content {
        padding: 16px;
    }
    
    .form-table input[type="text"],
    .form-table input[type="number"],
    .form-table input[type="email"],
    .form-table input[type="url"],
    .form-table textarea,
    .form-table select {
        max-width: 100%;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-confirm {
        width: 100%;
        padding: 12px;
    }
    
    
    .aw-instant-modal-preview,
    .aw-pinpoint-modal-preview {
        max-width: 100%;
        margin: 15px 0;
    }
}

/* Animation Effects */
.form-table tr {
    transition: all 0.2s ease;
}

.form-table tr:hover {
    background: rgba(34, 113, 177, 0.02);
}

/* Help Tips Enhancement */
.woocommerce-help-tip {
    color: #6b7280;
    font-size: 16px;
    margin-left: 6px;
    transition: color 0.2s ease;
}

.woocommerce-help-tip:hover {
    color: #2271b1;
}

/* Select2 Enhancement */
.select2-container--default .select2-selection--multiple {
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    min-height: 40px;
}

.select2-container--default .select2-selection--multiple:focus {
    border-color: #2271b1;
    outline: none;
}

/* Loading States */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Form Validation */
.form-table input.error,
.form-table select.error,
.form-table textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.field-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

/* Auto-save Indicator */
.auto-save-indicator {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 15px;
    border-left: 4px solid #f59e0b;
}

/* Enhanced Notices */
.notice.notice-success {
    border-left-color: #10b981;
    background: #ecfdf5;
    color: #065f46;
}

.notice.notice-error {
    border-left-color: #ef4444;
    background: #fef2f2;
    color: #991b1b;
}

.notice.notice-warning {
    border-left-color: #f59e0b;
    background: #fffbeb;
    color: #92400e;
}


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

/* Improved Responsiveness */
@media (max-width: 1600px) {
    #agenwebsite-status {
        width: 100%;
        position: relative;
        margin: 20px 0;
        top: 0;
        left: 0;
        right: 0;
    }
}
@media (max-width: 1024px) {
    .wc_input_table {
        font-size: 13px;
    }
    
    .wc_input_table th,
    .wc_input_table td {
        padding: 8px 10px;
    }
}

@media (max-width: 768px) {
    .tab-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .tab-wrapper .nav-tab {
        margin-right: 0;
        margin-bottom: 4px;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .agenwebsite-head {
        flex-direction: column;
        text-align: center;
    }
    
    .agenwebsite-head .logo {
        float: none;
        margin-top: 15px;
    }
    
    .agenwebsite-head .description {
        float: none;
    }
    
    #agenwebsite-status {
        position: static;
        width: 100%;
        margin-top: 20px;
    }
}

/* Subsidi Ongkir Styles */
.aw-subsidi-rules-container {
    margin-top: 20px;
}

/* Cards Grid Layout */
.aw-subsidi-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Subsidy Card */
.aw-subsidi-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.aw-subsidi-card.active {
    border-color: #10b981;
}

.aw-subsidi-card.inactive {
    opacity: 0.8;
    border-color: #d1d5db;
}

.aw-subsidi-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Card Header */
.aw-subsidi-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.aw-subsidi-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}

.status-indicator.active {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-text {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

/* Card Actions */
.aw-subsidi-card-actions {
    display: flex;
    gap: 8px;
}

.button-edit-rule,
.button-delete-rule {
    background: none;
    border: none;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.button-edit-rule:hover {
    background: #e0f2fe;
    color: #0ea5e9;
}

.button-delete-rule:hover {
    background: #fee2e2;
    color: #ef4444;
}

.button-edit-rule .dashicons,
.button-delete-rule .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Card Body */
.aw-subsidi-card-body {
    padding: 20px;
}

.subsidi-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.subsidi-info-row:last-child {
    margin-bottom: 0;
}

.subsidi-info-row.highlight {
    background: #f0f9ff;
    padding: 10px;
    border-radius: 8px;
    margin-top: 8px;
}

.info-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    color: #4b5563;
    line-height: 1.5;
}

.info-content strong {
    color: #1f2937;
    font-weight: 600;
}

/* Empty State */
.aw-subsidi-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.aw-subsidi-empty-state h3 {
    color: #374151;
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: 600;
}

.aw-subsidi-empty-state p {
    font-size: 14px;
    margin: 0;
}

/* Add Button */
.aw-subsidi-add-button {
    text-align: center;
    padding: 20px 0;
}

#add_subsidi_rule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#add_subsidi_rule:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

#add_subsidi_rule .dashicons {
    font-size: 20px;
}

/* Modal Styles */
.aw-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.aw-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.aw-modal-content.aw-modal-small {
    max-width: 400px;
}

.aw-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.aw-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.aw-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.aw-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.aw-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.aw-form-row {
    margin-bottom: 20px;
}

.aw-form-row:last-child {
    margin-bottom: 0;
}

.aw-form-row label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.aw-form-row input[type="text"],
.aw-form-row input[type="number"],
.aw-form-row select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.aw-form-row input[type="text"]:focus,
.aw-form-row input[type="number"]:focus,
.aw-form-row select:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.aw-form-row input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.aw-form-row .description {
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.aw-radio-group {
    display: flex;
    gap: 20px;
}

.aw-radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.aw-radio-group input[type="radio"] {
    margin: 0;
}

.aw-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-suffix {
    font-weight: 600;
    color: #4b5563;
    font-size: 16px;
}

.aw-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.aw-modal-footer .button {
    padding: 10px 20px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.aw-modal-footer .button-primary {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.aw-modal-footer .button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.delete-confirm {
    background: #dc3232 !important;
    border-color: #dc3232 !important;
    color: #fff !important;
}

.delete-confirm:hover {
    background: #c92c2c !important;
    border-color: #c92c2c !important;
}

/* Select2 in Modal */
.aw-modal .select2-container {
    width: 100% !important;
}

.aw-modal .select2-container .select2-selection--single {
    height: 42px;
    padding: 5px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

.aw-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
    color: #374151;
}

.aw-modal .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .aw-subsidi-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .aw-modal-content {
        max-height: 100vh;
        border-radius: 0;
    }
}

/* AgenWebsite Custom Button Styles - Ultra Thin Design */
.aw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
    background: #ffffff;
    color: #0a0a0a;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 28px;
    box-sizing: border-box;
    vertical-align: middle;
}

.aw-button:hover {
    background: #f6f8fa;
    border-color: #d0d7de;
    color: #0a0a0a;
    text-decoration: none;
}

.aw-button:active {
    background: #f0f3f6;
    border-color: #afb8c1;
    transform: translateY(0);
}

.aw-button:focus {
    outline: 2px solid #f60;
    outline-offset: -2px;
    border-color: #f60;
}

.aw-button:disabled {
    background: #f6f8fa;
    color: #656d76;
    border-color: #d0d7de;
    cursor: not-allowed;
    opacity: 0.6;
}

.aw-button-primary {
    background: #f60;
    color: #ffffff;
    border-color: #f60;
}

.aw-button-primary:hover {
    background: #f60;
    border-color: #f60;
    color: #ffffff;
}

.aw-button-primary:active {
    background: #0757ba;
    border-color: #0757ba;
}

.aw-button-primary:focus {
    outline: 2px solid #f60;
    outline-offset: 2px;
    border-color: #f60;
}

.aw-button-primary:disabled {
    background: #94a3b8;
    border-color: #94a3b8;
    color: #ffffff;
}

.aw-button-secondary {
    background: #ffffff;
    color: #f60;
    border-color: #f60;
}

.aw-button-secondary:hover {
    background: #f0f6ff;
    border-color: #f60;
    color: #f60;
}

.aw-button-secondary:active {
    background: #dbeafe;
    border-color: #0757ba;
    color: #0757ba;
}

.aw-button-hero {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    min-height: 36px;
}

.aw-button-large {
    padding: 8px 20px;
    font-size: 14px;
    min-height: 32px;
}

.aw-button-small {
    padding: 4px 12px;
    font-size: 12px;
    min-height: 24px;
}

.aw-button .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 1;
}

.aw-button-small .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
}

.aw-button-hero .dashicons,
.aw-button-large .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Button Group */
.aw-button-group {
    display: inline-flex;
    align-items: stretch;
}

.aw-button-group .aw-button {
    border-radius: 0;
    margin-right: -1px;
}

.aw-button-group .aw-button:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.aw-button-group .aw-button:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-right: 0;
}

.aw-button-group .aw-button:focus {
    z-index: 1;
}

/* Button with Icon Only */
.aw-button-icon {
    padding: 6px;
    width: 28px;
    height: 28px;
    min-height: 28px;
}

.aw-button-icon.aw-button-small {
    padding: 4px;
    width: 24px;
    height: 24px;
    min-height: 24px;
}

.aw-button-icon.aw-button-large {
    padding: 8px;
    width: 32px;
    height: 32px;
    min-height: 32px;
}

/* Danger Button Variant */
.aw-button-danger {
    background: #da3633;
    color: #ffffff;
    border-color: #da3633;
}

.aw-button-danger:hover {
    background: #c2322f;
    border-color: #c2322f;
    color: #ffffff;
}

.aw-button-danger:active {
    background: #ab2e2b;
    border-color: #ab2e2b;
}

/* Success Button Variant */
.aw-button-success {
    background: #1a7f37;
    color: #ffffff;
    border-color: #1a7f37;
}

.aw-button-success:hover {
    background: #137433;
    border-color: #137433;
    color: #ffffff;
}

.aw-button-success:active {
    background: #0d692e;
    border-color: #0d692e;
}

/* Warning Button Variant */
.aw-button-warning {
    background: #bf8700;
    color: #ffffff;
    border-color: #bf8700;
}

.aw-button-warning:hover {
    background: #9a6e00;
    border-color: #9a6e00;
    color: #ffffff;
}

.aw-button-warning:active {
    background: #7d5700;
    border-color: #7d5700;
}

/* ========================================
   Ultra-Thin License Management in Status Table
   ======================================== */

/* License Management Row */
.aw-license-management-row {
    background: linear-gradient(135deg, #fef7ed 0%, #fed7aa 100%);
    border-top: 2px solid #f97316;
}

.aw-license-management-cell {
    padding: 5px !important;
    border: none !important;
}

.aw-license-form-container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    padding: 12px;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* License Header */
.aw-license-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.aw-license-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
}

.aw-license-info {
    flex: 1;
}

.aw-license-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #ea580c;
    line-height: 1.2;
}

.aw-license-subtitle {
    margin: 2px 0 0;
    font-size: 11px;
    color: #9a3412;
    font-weight: 400;
}

/* License Form */
.aw-license-form {
    margin: 0;
}

.aw-license-input-section {
    margin: 0;
}

.aw-license-field-group {
    margin: 0;
}

/* License Label */
.aw-license-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #1f2937;
}

.aw-label-text {
    flex: 1;
}

/* License Status Badge */
.aw-license-status {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.aw-status-active {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.aw-status-inactive {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* License Input Wrapper */
.aw-license-input-wrapper {
    display: flex;
    align-items: stretch;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.aw-license-input-wrapper:focus-within {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.aw-license-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 6px 8px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    background: transparent;
    color: #374151;
    min-width: 0;
}

.aw-license-input:disabled {
    background: #f9fafb;
    color: #6b7280;
}

.aw-license-input::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* License Actions */
.aw-license-actions {
    display: flex;
    gap: 4px;
    border-left: 1px solid #e5e7eb;
    padding-left: 6px;
    align-items: center;
}

.aw-license-actions .aw-button {
    padding: 4px 8px;
    font-size: 10px;
    min-height: 22px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.aw-license-actions .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
    line-height: 1;
}

.aw-deactivate-btn {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}

.aw-deactivate-btn:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
}

.aw-get-license-btn {
    background: #eff6ff !important;
    color: #2563eb !important;
    border-color: #dbeafe !important;
}

.aw-get-license-btn:hover {
    background: #dbeafe !important;
    border-color: #bfdbfe !important;
}

/* License Description */
.aw-license-description {
    margin: 6px 0 0 !important;
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
}

.aw-account-link {
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.aw-account-link:hover {
    color: #ea580c;
    text-decoration: none;
}

/* Status Info Row Adjustments */
.aw-status-info-row td {
    padding-top: 8px !important;
    border-top: 1px solid rgba(249, 115, 22, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .aw-license-form-container {
        padding: 10px;
    }
    
    .aw-license-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .aw-license-input-wrapper {
        flex-direction: column;
        gap: 4px;
    }
    
    .aw-license-actions {
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding: 4px 0 0;
        justify-content: center;
    }
    
    .aw-license-actions .aw-button {
        flex: 1;
        justify-content: center;
        min-width: 80px;
    }
}

/* Dark mode compatibility (if needed) */
@media (prefers-color-scheme: dark) {
    .aw-license-form-container {
        background: rgba(17, 24, 39, 0.8);
        border-color: rgba(249, 115, 22, 0.3);
    }
    
    .aw-license-title {
        color: #fb923c;
    }
    
    .aw-license-subtitle {
        color: #fdba74;
    }
    
    .aw-license-input {
        color: #f3f4f6;
        background: #1f2937;
    }
    
    .aw-license-description {
        color: #9ca3af;
    }
}

/* Note: Origin City Selector styles have been moved to the field component */
/* See: /views/fields/field-origin-city.php */

/* Note: Courier Selector styles have been moved to the field component */
/* See: /views/fields/field-courier-selector.php */

/* ========================================
   Status Table Toggle - Ultra Thin Design
   ======================================== */

/* Status Header with Toggle */
.aw-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.aw-status-title {
    font-weight: bold;
    font-size: 13px;
}

/* Ultra Thin Toggle Button */
.aw-status-toggle {
    background: transparent;
    border: 1px solid #d0d5dd;
    border-radius: 3px;
    padding: 2px 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    width: 22px;
    outline: none;
}

.aw-status-toggle:hover {
    background: #f6f7f8;
    border-color: #8c8f94;
}

.aw-status-toggle:active {
    background: #e9eaeb;
    transform: scale(0.95);
}

.aw-status-toggle.collapsed {
    background: #f0f0f1;
}

.aw-status-toggle .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 1;
    color: #50575e;
    transition: transform 0.2s ease;
}

.aw-status-toggle:hover .dashicons {
    color: #2c3338;
}

/* Smooth animation for icon rotation */
.aw-status-toggle .dashicons-arrow-down-alt2 {
    animation: rotateDown 0.2s ease-out;
}

.aw-status-toggle .dashicons-arrow-up-alt2 {
    animation: rotateUp 0.2s ease-out;
}

@keyframes rotateDown {
    from { transform: rotate(180deg); }
    to { transform: rotate(0deg); }
}

@keyframes rotateUp {
    from { transform: rotate(-180deg); }
    to { transform: rotate(0deg); }
}

/* Focus state for accessibility */
.aw-status-toggle:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Table adjustments when collapsed */
#wc_agenwebsite_status.collapsed thead {
    border-bottom: none;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .aw-status-header {
        gap: 10px;
    }
    
    .aw-status-title {
        font-size: 12px;
    }
}

/* Compact Modification Services Style */
.aw-modification-compact td {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-top: 2px solid #0ea5e9;
    position: relative;
    overflow: hidden;
}

.aw-modification-compact td::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #0284c7, #0369a1);
    animation: slideGradient 3s ease-in-out infinite;
}

@keyframes slideGradient {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.modification-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 5px 0;
}

.modification-inline .mod-icon {
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.modification-inline .mod-text {
    font-size: 14px;
    color: #0369a1;
    font-weight: 500;
    max-width: 600px;
    line-height: 1.5;
}

.modification-inline .mod-price {
    background: #0ea5e9;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.modification-inline .mod-link {
    background: #0ea5e9;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.modification-inline .mod-link:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
    text-decoration: none;
}

@media screen and (max-width: 600px) {
    .modification-inline {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Modification Services Promotion Box */
.aw-modification-services {
    background: #2271b1;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.aw-modification-services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.aw-modification-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.aw-modification-services h3 {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aw-modification-services h3 .emoji {
    font-size: 28px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.aw-modification-services p {
    color: #fff;
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

.aw-modification-services .price-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 25px;
    font-weight: 600;
    margin: 0 5px;
    backdrop-filter: blur(10px);
}

.aw-modification-services .cta-button {
    display: inline-block;
    background: #fff;
    color: #2271b1;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.aw-modification-services .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #f8f9fa;
}

.aw-modification-services .features {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.aw-modification-services .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.aw-modification-services .feature-item::before {
    content: '✓';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
}

/* Responsive Design for Modification Services */
@media screen and (max-width: 768px) {
    .aw-modification-services {
        padding: 20px;
    }
    
    .aw-modification-services h3 {
        font-size: 18px;
    }
    
    .aw-modification-services p {
        font-size: 14px;
    }
    
    .aw-modification-services .features {
        gap: 10px;
    }
    
    .aw-modification-services .feature-item {
        width: 100%;
        font-size: 13px;
    }
    
    .aw-modification-services .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Display Mode PRO Feature Modal */
.aw-feature-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
}

.aw-feature-modal .aw-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.aw-feature-modal .aw-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.aw-feature-modal .aw-modal-icon {
    margin-bottom: 20px;
}

.aw-feature-modal .aw-upgrade-popup-icon {
    font-size: 48px;
    display: block;
    margin: 0 auto;
}

.aw-feature-modal .aw-modal-body {
    text-align: center;
}

.aw-feature-modal .aw-modal-body h3 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.aw-feature-modal .aw-modal-description {
    margin: 0 0 16px;
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.aw-feature-modal .aw-modal-current-license {
    margin: 0 0 24px;
    font-size: 14px;
    color: #475569;
}

.aw-feature-modal .aw-license-badge-free {
    color: #dc2626;
    font-weight: 600;
    background: #fef2f2;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Upgrade Box */
.aw-feature-modal .aw-modal-upgrade-box {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.aw-feature-modal .aw-upgrade-benefits h4 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.aw-feature-modal .aw-upgrade-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.aw-feature-modal .aw-upgrade-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
}

.aw-feature-modal .aw-upgrade-benefits li svg {
    flex-shrink: 0;
}

/* Modal Actions */
.aw-feature-modal .aw-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
}

.aw-feature-modal .aw-modal-actions .aw-button {
    min-width: 180px;
}

.aw-feature-modal .aw-modal-tip {
    margin: 20px 0 0;
    font-size: 13px;
    color: #64748b;
    font-style: italic;
}

/* License Deactivation Modal (Additional styles) */
.aw-license-modal .aw-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.aw-license-modal .aw-modal-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.aw-license-modal .aw-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

.aw-license-modal .aw-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.aw-license-modal .aw-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.aw-license-modal .aw-modal-body {
    padding: 24px;
}

.aw-license-modal .aw-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Responsive for Display Mode Modal */
@media (max-width: 640px) {
    .aw-feature-modal .aw-modal-container,
    .aw-license-modal .aw-modal-container {
        padding: 24px;
        width: 95%;
    }

    .aw-feature-modal .aw-modal-actions {
        flex-direction: column;
    }

    .aw-feature-modal .aw-modal-actions .aw-button {
        width: 100%;
        min-width: auto;
    }
}

/* =============================================
   Diagnostic Tab Styles
   ============================================= */
.aw-diagnostic-container {
    max-width: 900px;
    margin: 20px 0;
}

.aw-diagnostic-container .aw-section-header {
    margin-bottom: 25px;
}

.aw-diagnostic-container .aw-section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #1d2327;
}

.aw-diagnostic-container .aw-section-header h2 .dashicons {
    color: #f60;
}

.aw-diagnostic-section {
    background: #fff;
    border: 1px solid #c3c4c7;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.aw-diagnostic-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.aw-diagnostic-section h3 .dashicons {
    color: #2271b1;
}

.aw-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.aw-status-success {
    background: #d4edda;
    color: #155724;
}

.aw-status-error {
    background: #f8d7da;
    color: #721c24;
}

.aw-record-count {
    font-weight: 500;
    color: #50575e;
}

.aw-info-box {
    display: flex;
    gap: 12px;
    background: #f0f6fc;
    border: 1px solid #c8d7e1;
    border-left: 4px solid #2271b1;
    padding: 15px;
    border-radius: 4px;
}

.aw-info-box > .dashicons {
    color: #2271b1;
    flex-shrink: 0;
}

.aw-info-box p {
    margin: 5px 0 0;
    color: #50575e;
}

.aw-spin {
    animation: aw-spin 1s linear infinite;
}

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

/* =============================================
   Locked Settings Styles (Customize Checkout)
   ============================================= */
.aw-locked-settings {
    position: relative;
}

.aw-setting-locked {
    opacity: 0.7;
}

.aw-setting-locked input:disabled,
.aw-setting-locked select:disabled {
    cursor: not-allowed;
    background-color: #f7f7f7;
}

.aw-pro-lock-icon {
    display: inline-block;
    margin-left: 6px;
    color: #dba617;
    vertical-align: middle;
}

.aw-pro-lock-icon .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.aw-pro-notice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px !important;
    padding: 6px 12px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 12px;
    color: #856404;
}

.aw-pro-notice .dashicons {
    color: #ffc107;
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Upgrade Banner for Customize Checkout */
.aw-upgrade-banner {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 1px solid #ffc107;
    border-left: 4px solid #f60;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.aw-upgrade-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.aw-upgrade-icon {
    flex-shrink: 0;
}

.aw-upgrade-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #f60;
}

.aw-upgrade-text {
    flex: 1;
    min-width: 250px;
}

.aw-upgrade-text h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
}

.aw-upgrade-text p {
    margin: 0 0 12px;
    color: #50575e;
}

.aw-premium-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aw-premium-features .feature-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    font-size: 12px;
    color: #1d2327;
}

.aw-premium-features .feature-item .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #1a7f37;
}

.aw-upgrade-action {
    flex-shrink: 0;
    text-align: center;
}

.aw-upgrade-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f60;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aw-upgrade-btn:hover {
    background: #e55b00;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.aw-upgrade-note {
    margin: 8px 0 0;
    font-size: 11px;
    color: #666;
}

/* Section Title Wrapper for Customize Checkout */
.section-title-wrapper h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.section-title-wrapper h3 .dashicons {
    color: #f60;
}

.section-title-wrapper .section-description {
    margin: 8px 0 0;
    color: #50575e;
}


/* ========================================
   Postcode Mismatch Warning
   ======================================== */
.aw-postcode-mismatch-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    color: #856404;
    padding: 10px 14px;
    border-radius: 4px;
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.aw-postcode-mismatch-warning .dashicons {
    color: #e0a800;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.aw-postcode-mismatch-warning .warning-text {
    flex: 1;
}

.aw-postcode-mismatch-warning strong {
    font-weight: 600;
}

.aw-postcode-mismatch-warning a {
    color: #856404;
    text-decoration: underline;
    font-weight: 500;
}

.aw-postcode-mismatch-warning a:hover {
    color: #533f03;
}

/* Responsive */
@media (max-width: 768px) {
    .aw-upgrade-content {
        flex-direction: column;
        text-align: center;
    }

    .aw-upgrade-action {
        width: 100%;
    }

    .aw-upgrade-btn {
        width: 100%;
        justify-content: center;
    }

    .aw-premium-features {
        justify-content: center;
    }
}

/* ===== Cross-Sell Section ===== */
.aw-cross-sell-section {
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
}

.aw-cross-sell-header {
    margin-bottom: 20px;
}

.aw-cross-sell-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.aw-cross-sell-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.aw-cross-sell-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.aw-cross-sell-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.aw-cross-sell-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #c7d2fe;
}

.aw-cross-sell-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.aw-cross-sell-image {
    margin: -20px -20px 16px -20px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: #f8fafc;
}

.aw-cross-sell-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.aw-cross-sell-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.aw-cross-sell-title-wrap h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.aw-cross-sell-tagline {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.aw-cross-sell-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.aw-cross-sell-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.aw-cross-sell-features li {
    font-size: 12px;
    color: #475569;
    padding: 3px 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.aw-cross-sell-check {
    color: #22c55e;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

.aw-cross-sell-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.aw-cross-sell-price {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.aw-cross-sell-footer .aw-button {
    font-size: 12px;
    padding: 6px 14px;
    text-decoration: none;
}

.aw-cross-sell-footer .aw-button-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.aw-cross-sell-footer .aw-button-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.aw-cross-sell-status {
    font-size: 12px;
    font-weight: 600;
}

.aw-cross-sell-status--active {
    color: #16a34a;
}

.aw-cross-sell-status--inactive {
    color: #94a3b8;
}

.aw-cross-sell-btn-full {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: background 0.15s, color 0.15s;
    box-sizing: border-box;
}

.aw-cross-sell-btn-full:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.aw-cross-sell-btn-full--primary {
    background: #f60;
    color: #fff;
    border-color: #f60;
}

.aw-cross-sell-btn-full--primary:hover {
    background: #e55c00;
    color: #fff;
    border-color: #e55c00;
}

@media (max-width: 1200px) {
    .aw-cross-sell-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .aw-cross-sell-grid {
        grid-template-columns: 1fr;
    }
}

.aw-cross-sell-empty {
    text-align: center;
    padding: 60px 20px;
}

.aw-cross-sell-empty h3 {
    margin: 16px 0 8px;
    font-size: 16px;
    color: #1d2327;
}

.aw-cross-sell-empty p {
    color: #787c82;
    font-size: 13px;
    margin: 0;
}
