/**
 * AgenWebsite Shipping Setup Wizard Styles
 */

/* CSS Variables */
:root {
    --aw-primary-color: #ff7f00;
    --aw-primary-hover: #f57a00;
    --aw-primary-dark: #e56f00;
    --aw-secondary-color: #4a5568;
    --aw-success-color: #48bb78;
    --aw-error-color: #f56565;
    --aw-warning-color: #ed8936;
    --aw-info-color: #4299e1;
    --aw-border-color: #e2e8f0;
    --aw-background-light: #f7fafc;
    --aw-text-primary: #2d3748;
    --aw-text-secondary: #718096;
    --aw-border-radius: 8px;
    --aw-transition: all 0.3s ease;
}

/* Reset and Base Styles */
body.aw-setup {
    background: #f1f5f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
}

body.aw-setup * {
    box-sizing: border-box;
}

/* Main Container */
.aw-setup-wizard {
    max-width: 1200px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header */
.aw-setup-wizard-header {
    background: #FFF;
    padding: 40px;
    text-align: center;
}

.aw-setup-wizard-logo {
    margin: 0;
}

.aw-setup-wizard-logo img {
    max-height: 50px;
    width: auto;
}

/* Progress Steps */
.aw-setup-wizard-steps {
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
    background: var(--aw-background-light);
    border-bottom: 1px solid var(--aw-border-color);
    margin: 0;
    list-style: none;
}

.aw-setup-wizard-steps li {
    flex: 1;
    text-align: center;
    position: relative;
}

.aw-setup-wizard-steps li:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--aw-border-color);
    z-index: 1;
}

.aw-setup-wizard-steps li.done:not(:last-child):after {
    background: var(--aw-primary-color);
}

.aw-setup-wizard-steps .step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 36px;
    background: #fff;
    border: 2px solid var(--aw-border-color);
    border-radius: 50%;
    color: var(--aw-text-secondary);
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: var(--aw-transition);
}

.aw-setup-wizard-steps li.active .step-number {
    background: var(--aw-primary-color);
    border-color: var(--aw-primary-color);
    color: #fff;
}

.aw-setup-wizard-steps li.done .step-number {
    background: var(--aw-primary-color);
    border-color: var(--aw-primary-color);
    color: #fff;
}

/* Step number done state - checkmark disabled */

.aw-setup-wizard-steps .step-name {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--aw-text-secondary);
}

.aw-setup-wizard-steps li.active .step-name,
.aw-setup-wizard-steps li.done .step-name {
    color: var(--aw-text-primary);
    font-weight: 500;
}

/* Content Area */
.aw-setup-wizard-content {
    padding: 60px;
}

.aw-wizard-step h2 {
    font-size: 28px;
    margin: 0 0 10px;
    color: var(--aw-text-primary);
}

.aw-wizard-description {
    font-size: 16px;
    color: var(--aw-text-secondary);
    margin: 0 0 40px;
    line-height: 1.6;
}

/* Welcome Step */
.aw-wizard-hero {
    text-align: center;
    margin-bottom: 50px;
}

.aw-wizard-tagline {
    font-size: 20px;
    color: var(--aw-text-secondary);
    margin: 10px 0 0;
}

.aw-wizard-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.aw-wizard-benefit {
    text-align: center;
    padding: 30px;
    background: var(--aw-background-light);
    border-radius: var(--aw-border-radius);
    transition: var(--aw-transition);
}

.aw-wizard-benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.aw-wizard-benefit-icon {
    color: var(--aw-primary-color);
    margin-bottom: 20px;
}

.aw-wizard-benefit h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--aw-text-primary);
}

.aw-wizard-benefit p {
    font-size: 14px;
    color: var(--aw-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* License Selection */
.aw-wizard-license-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.aw-wizard-license-card {
    border: 2px solid var(--aw-border-color);
    border-radius: var(--aw-border-radius);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: var(--aw-transition);
}

.aw-wizard-license-card:hover {
    border-color: var(--aw-primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.aw-wizard-license-card.featured {
    border-color: var(--aw-primary-color);
    transform: scale(1.05);
}

.aw-wizard-license-card.current {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.aw-wizard-license-card.current.featured {
    border-color: #16a34a;
}

.aw-wizard-current-badge {
    background: #16a34a;
}

.aw-wizard-license-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--aw-primary-color);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.aw-wizard-license-header h3 {
    font-size: 22px;
    margin: 0 0 10px;
    color: var(--aw-text-primary);
}

.aw-wizard-license-price {
    margin: 0 0 30px;
}

.aw-wizard-license-price .amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--aw-primary-color);
}

.aw-wizard-license-price .period {
    font-size: 16px;
    color: var(--aw-text-secondary);
}

.aw-wizard-license-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.aw-wizard-license-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--aw-text-primary);
}

.aw-wizard-license-features li svg {
    color: var(--aw-success-color);
    flex-shrink: 0;
}

.aw-wizard-license-features .aw-wizard-feature-limited svg {
    color: var(--aw-text-secondary);
}

.aw-wizard-license-note {
    font-size: 12px;
    color: var(--aw-text-secondary);
    margin: 10px 0 0;
}

/* 3-column license layout */
.aw-wizard-license-options-3col {
    grid-template-columns: repeat(3, 1fr);
}

.aw-wizard-license-tagline {
    font-size: 13px;
    color: var(--aw-text-secondary);
    margin: 0 0 20px;
}

.aw-wizard-feature-highlight {
    color: var(--aw-primary-color) !important;
}

.aw-wizard-feature-highlight strong {
    color: var(--aw-primary-color);
}

/* Outline button variant */
.aw-button.aw-button-outline {
    background: transparent;
    border: 2px solid var(--aw-border-color);
    color: var(--aw-text-secondary);
}

.aw-button.aw-button-outline:hover {
    border-color: var(--aw-primary-color);
    color: var(--aw-primary-color);
}

/* Trial link under PRO button */
.aw-wizard-trial-link {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    color: var(--aw-text-secondary);
}

.aw-wizard-trial-link span {
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
}

.aw-button.aw-button-trial {
    background: transparent;
    border: 2px solid var(--aw-primary-color);
    color: var(--aw-primary-color);
    font-weight: 600;
    font-size: 13px;
    width: 100%;
}

.aw-button.aw-button-trial:hover {
    background: var(--aw-primary-color);
    color: #fff;
}

.aw-trial-note {
    font-size: 11px !important;
    color: var(--aw-text-secondary) !important;
    opacity: 0.7;
}

/* Comparison Table */
.aw-wizard-comparison-table {
    margin: 40px 0 30px;
    padding: 30px;
    background: #f8fafc;
    border-radius: var(--aw-border-radius);
    border: 1px solid var(--aw-border-color);
}

.aw-wizard-comparison-table h3 {
    text-align: center;
    margin: 0 0 20px;
    font-size: 18px;
    color: var(--aw-text-primary);
}

.aw-wizard-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.aw-wizard-comparison-table thead th {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    background: #f1f5f9;
    color: var(--aw-text-primary);
    border-bottom: 2px solid var(--aw-border-color);
}

.aw-wizard-comparison-table thead th:first-child {
    text-align: left;
}

.aw-wizard-comparison-table thead th.aw-comparison-highlight {
    background: var(--aw-primary-color);
    color: #fff;
}

.aw-wizard-comparison-table tbody td {
    padding: 12px 16px;
    font-size: 13px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    color: var(--aw-text-primary);
}

.aw-wizard-comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.aw-wizard-comparison-table tbody td.aw-comparison-highlight {
    background: #fff7ed;
}

.aw-wizard-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.aw-compare-yes {
    color: var(--aw-success-color, #22c55e);
    font-weight: 700;
    font-size: 16px;
}

.aw-compare-no {
    color: #cbd5e1;
    font-size: 16px;
}

/* Form Elements */
.aw-wizard-form-group {
    margin-bottom: 30px;
}

.aw-wizard-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--aw-text-primary);
}

.aw-wizard-form-group .required {
    color: var(--aw-error-color);
}

.aw-wizard-form-group input[type="text"],
.aw-wizard-form-group input[type="number"],
.aw-wizard-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--aw-border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: var(--aw-transition);
}

.aw-wizard-form-group input:focus,
.aw-wizard-form-group select:focus {
    outline: none;
    border-color: var(--aw-primary-color);
    box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
}

.aw-wizard-form-group .description {
    font-size: 14px;
    color: var(--aw-text-secondary);
    margin-top: 8px;
}

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

.aw-wizard-input-suffix {
    color: var(--aw-text-secondary);
}

/* Courier Selection */
.aw-wizard-courier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.aw-wizard-courier-card {
    position: relative;
    border: 2px solid var(--aw-border-color);
    border-radius: var(--aw-border-radius);
    overflow: hidden;
    transition: var(--aw-transition);
    cursor: pointer;
}

.aw-wizard-courier-card:hover:not(.disabled) {
    border-color: var(--aw-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.aw-wizard-courier-card.selected {
    border-color: var(--aw-primary-color);
    background: rgba(255, 127, 0, 0.05);
}

.aw-wizard-courier-card.selected::after {
    content: 'âœ“';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--aw-primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

.aw-wizard-courier-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.aw-wizard-courier-label {
    display: block;
    position: relative;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.aw-wizard-courier-card input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.aw-wizard-courier-logo img {
    max-width: 100px;
    max-height: 40px;
    object-fit: contain;
}

.aw-wizard-courier-icon {
    color: var(--aw-primary-color);
    margin-bottom: 10px;
}

.aw-wizard-courier-content h4 {
    font-size: 16px;
    margin: 10px 0 5px;
    color: var(--aw-text-primary);
}

.aw-wizard-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--aw-primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.aw-wizard-courier-features {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.aw-wizard-courier-features span {
    font-size: 11px;
    padding: 2px 8px;
    background: var(--aw-background-light);
    border-radius: 12px;
    color: var(--aw-text-secondary);
}

/* Actions */
.aw-wizard-actions {
    text-align: center;
    margin-top: 40px;
}

/* Custom AgenWebsite Button Styles for Wizard */
.aw-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    background: #ffffff;
    color: #0a0a0a;
    cursor: pointer;
    text-decoration: none;
    transition: var(--aw-transition);
    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;
}

.aw-button:focus {
    outline: 2px solid var(--aw-primary-color);
    outline-offset: -2px;
    border-color: var(--aw-primary-color);
}

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

.aw-button-primary {
    background: var(--aw-primary-color);
    color: #fff;
    border-color: var(--aw-primary-color);
}

.aw-button-primary:hover {
    background: var(--aw-primary-hover);
    border-color: var(--aw-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.3);
}

.aw-button-primary:active {
    background: var(--aw-primary-dark);
    border-color: var(--aw-primary-dark);
}

.aw-button-primary:focus {
    outline: 2px solid var(--aw-primary-color);
    outline-offset: 2px;
    border-color: var(--aw-primary-color);
}

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

.aw-button-secondary {
    background: #fff;
    color: var(--aw-primary-color);
    border-color: var(--aw-primary-color);
}

.aw-button-secondary:hover {
    background: var(--aw-primary-color);
    color: #fff;
    border-color: var(--aw-primary-color);
}

.aw-button-secondary:active {
    background: var(--aw-primary-dark);
    border-color: var(--aw-primary-dark);
    color: #fff;
}

.aw-button-hero {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

.aw-button-large {
    padding: 14px 28px;
    font-size: 17px;
}

.aw-button-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Legacy button support for backward compatibility */
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    background: #ffffff;
    color: #0a0a0a;
    cursor: pointer;
    text-decoration: none;
    transition: var(--aw-transition);
}

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

.button-primary {
    background: var(--aw-primary-color);
    color: #fff;
    border-color: var(--aw-primary-color);
}

.button-primary:hover {
    background: var(--aw-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.3);
    color: #fff;
}

.button-secondary {
    background: #fff;
    color: var(--aw-primary-color);
    border: 2px solid var(--aw-primary-color);
}

.button-secondary:hover {
    background: var(--aw-primary-color);
    color: #fff;
}

.button-hero {
    padding: 16px 32px;
    font-size: 18px;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Info Boxes */
.aw-wizard-info-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--aw-info-color);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #0ea5e9;
    border-radius: var(--aw-border-radius);
    margin: 30px 0;
}

.aw-wizard-info-box.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #22c55e;
}

.aw-wizard-info-box.premium {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.aw-wizard-info-box svg {
    flex-shrink: 0;
    color: #0ea5e9;
}

/* Notices */
.aw-wizard-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: var(--aw-border-radius);
    margin-bottom: 30px;
}

.aw-wizard-notice-warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}

.aw-wizard-notice-error {
    background: #fee2e2;
    border: 1px solid #f87171;
    color: #991b1b;
}

/* Success Screen */
.aw-wizard-success-icon {
    text-align: center;
    margin-bottom: 30px;
    color: var(--aw-success-color);
    animation: successPulse 2s ease-in-out infinite;
}

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

.aw-wizard-summary {
    background: var(--aw-background-light);
    padding: 30px;
    border-radius: var(--aw-border-radius);
    margin-bottom: 40px;
}

.aw-wizard-summary h3 {
    font-size: 20px;
    margin: 0 0 20px;
    color: var(--aw-text-primary);
}

.aw-wizard-summary-table {
    width: 100%;
}

.aw-wizard-summary-table td {
    padding: 10px 0;
    font-size: 16px;
}

.aw-wizard-summary-table td:first-child {
    color: var(--aw-text-secondary);
    width: 40%;
}

.aw-wizard-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.aw-wizard-status-active {
    background: #dcfce7;
    color: #15803d;
}

.aw-wizard-status-inactive {
    background: #fee2e2;
    color: #991b1b;
}

/* Checklist */
.aw-wizard-checklist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aw-wizard-checklist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--aw-background-light);
    border-radius: var(--aw-border-radius);
}

.aw-wizard-checklist-item svg {
    color: var(--aw-success-color);
    flex-shrink: 0;
}

.aw-wizard-checklist-item a {
    margin-left: auto;
    color: var(--aw-primary-color);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

/* Upgrade Box */
.aw-wizard-upgrade-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    padding: 30px;
    border-radius: var(--aw-border-radius);
    text-align: center;
    margin: 40px 0;
}

.aw-wizard-upgrade-box h4 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #92400e;
}

.aw-wizard-upgrade-box p {
    color: #92400e;
    margin: 0 0 20px;
}

/* Loading States */
.aw-wizard-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--aw-text-secondary);
}

.spinner {
    border: 2px solid var(--aw-border-color);
    border-top-color: var(--aw-primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

.aw-wizard-existing-license {
    text-align: center;
}

/* Services Step */
.aw-wizard-services .aw-wizard-section {
    margin-bottom: 40px;
}

.aw-wizard-services .aw-wizard-section:last-child {
    margin-bottom: 0;
}

.aw-wizard-services .aw-wizard-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin: 0 0 20px;
    color: var(--aw-text-primary);
}

.aw-wizard-services .aw-wizard-section h3 svg {
    color: var(--aw-primary-color);
}

.aw-wizard-services-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border: 1px solid var(--aw-border-color);
    border-radius: var(--aw-border-radius);
    overflow: hidden;
}

.aw-wizard-services-table thead {
    background: var(--aw-background-light);
}

.aw-wizard-services-table th,
.aw-wizard-services-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--aw-border-color);
}

.aw-wizard-services-table tbody tr:last-child td {
    border-bottom: none;
}

.aw-wizard-services-table tbody tr:hover:not(.disabled) {
    background: var(--aw-background-light);
}

.aw-wizard-services-table .check-column {
    width: 40px;
    text-align: center;
}

.aw-wizard-services-table tr.disabled {
    opacity: 0.6;
}

.aw-wizard-services-table tr.disabled td {
    position: relative;
}

.aw-wizard-services-table .premium-badge {
    background: var(--aw-warning-color);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.aw-wizard-services-table input[type="text"] {
    width: 100%;
    max-width: 300px;
    padding: 8px 12px;
    border: 1px solid var(--aw-border-color);
    border-radius: 4px;
    font-size: 14px;
}

.aw-wizard-services-table input[type="number"] {
    width: 100px;
    padding: 8px 12px;
    border: 1px solid var(--aw-border-color);
    border-radius: 4px;
    font-size: 14px;
}

.aw-wizard-services-table .description {
    font-size: 13px;
    color: var(--aw-text-secondary);
    margin: 5px 0 0;
}

.aw-wizard-input-prefix {
    margin-right: 5px;
    color: var(--aw-text-secondary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .aw-setup-wizard {
        margin: 0;
        border-radius: 0;
    }

    .aw-setup-wizard-content {
        padding: 30px 20px;
    }

    .aw-setup-wizard-steps {
        padding: 20px;
        overflow-x: auto;
    }

    .aw-setup-wizard-steps .step-name {
        font-size: 12px;
    }

    .aw-wizard-benefits,
    .aw-wizard-license-options {
        grid-template-columns: 1fr;
    }

    .aw-wizard-license-options-3col {
        grid-template-columns: 1fr;
    }

    .aw-wizard-license-card.featured {
        transform: none;
    }

    .aw-wizard-comparison-table table {
        font-size: 12px;
    }

    .aw-wizard-comparison-table thead th,
    .aw-wizard-comparison-table tbody td {
        padding: 8px 6px;
    }

    .aw-wizard-courier-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .aw-wizard-services-table {
        font-size: 14px;
    }
    
    .aw-wizard-services-table th,
    .aw-wizard-services-table td {
        padding: 10px;
    }
    
    .aw-wizard-services-table input[type="text"] {
        max-width: 200px;
    }
}
/* Existing License Section Styles */
.aw-wizard-existing-license-section {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e1e4e8;
}

.aw-wizard-existing-license-header h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #2c3338;
}

.aw-wizard-existing-license-header p {
    margin: 0 0 20px;
    color: #646970;
}

.aw-wizard-form-highlight {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    border: 2px solid #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.1);
}

.aw-wizard-license-input-group {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.aw-wizard-license-input-group input {
    flex: 1;
}

.aw-wizard-license-input-group .button {
    flex-shrink: 0;
}

/* Modal Styles */
.aw-wizard-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
}

.aw-wizard-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.aw-wizard-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.aw-wizard-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.aw-wizard-modal-close:hover {
    background: #f8f9fa;
}

.aw-wizard-modal-header {
    padding: 24px 24px 0;
    text-align: center;
}

.aw-wizard-modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: #2c3338;
}

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

.aw-wizard-steps-guide {
    margin: 24px 0;
}

.aw-wizard-step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.aw-wizard-step-item .step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--aw-primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.aw-wizard-step-item .step-content h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #2c3338;
}

.aw-wizard-step-item .step-content p {
    margin: 0;
    color: #646970;
    line-height: 1.5;
}

.aw-wizard-modal-actions {
    margin-top: 32px;
    text-align: center;
}

.aw-wizard-modal-actions .button-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.aw-wizard-license-validation {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
}

.aw-wizard-license-validation > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aw-wizard-success {
    color: #00a32a;
}

.aw-wizard-error {
    color: #d63638;
}

.spinner {
    float: none;
    margin: 0;
}


.aw-wizard-separator {
    margin: 40px 0;
    border: none;
    border-top: 1px solid var(--aw-border-color);
}

.aw-wizard-section {
    margin-bottom: 40px;
}

.aw-wizard-section h3 {
    font-size: 20px;
    margin: 0 0 20px;
    color: var(--aw-text-primary);
}

.aw-wizard-notice-success {
    background-color: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.aw-wizard-notice-success svg {
    color: #10b981;
}

.aw-wizard-notice-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 4px;
    margin-bottom: 20px;
}

.aw-wizard-notice-warning svg {
    flex-shrink: 0;
    color: #f59e0b;
}

.aw-wizard-notice-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background-color: #eff6ff;
    border: 1px solid #3b82f6;
    border-radius: 4px;
    margin-bottom: 20px;
}

.aw-wizard-notice-info svg {
    flex-shrink: 0;
    color: #3b82f6;
}

.aw-wizard-notice-info div {
    color: #1e40af;
    font-size: 14px;
    line-height: 1.5;
}

.aw-wizard-section h3 .required {
    color: #dc2626;
    font-weight: normal;
}

/* Free License Modal Styles */
.aw-wizard-modal-compact {
    max-width: 520px !important;
}

.aw-wizard-modal-icon {
    text-align: center;
    padding: 24px 24px 0;
}

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

.aw-wizard-modal-body h3 {
    margin: 16px 0 12px;
    font-size: 22px;
    color: #2c3338;
}

.aw-wizard-modal-description {
    font-size: 15px;
    color: #646970;
    line-height: 1.6;
    margin: 0 0 16px;
}

.aw-wizard-modal-current-courier {
    padding: 12px;
    background: #f6f7f7;
    border-radius: 6px;
    margin: 16px 0;
    font-size: 14px;
}

.aw-wizard-modal-current-courier strong {
    color: #0073aa;
    font-size: 16px;
    display: block;
    margin-top: 4px;
}

.aw-wizard-modal-upgrade-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
}

.aw-wizard-upgrade-benefits h4 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #fff;
}

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

.aw-wizard-upgrade-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
}

.aw-wizard-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.aw-wizard-modal-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
}

.aw-wizard-modal-actions .button-primary {
    background: var(--aw-primary-color);
    border: none;
    color: #fff;
}

.aw-wizard-modal-actions .button-primary:hover {
    opacity: 0.9;
}

.aw-wizard-modal-tip {
    margin: 20px 0 0;
    padding: 12px;
    background: #f0f6fc;
    border-radius: 6px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}

/* Checkbox styling */
.aw-wizard-courier-card.selected input[type="checkbox"] {
    accent-color: #0073aa;
}

/* Make entire card clickable */
.aw-wizard-courier-label {
    position: relative;
    display: block;
    height: 100%;
}