.wwb-offline-upsell-checkout {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.wwb-offline-upsell-header {
    text-align: center;
    margin-bottom: 40px;
}

.wwb-offline-upsell-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.wwb-header-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

.wwb-offline-step {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.wwb-step-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.wwb-step-number {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #3b82f6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.wwb-offline-step h3 {
    font-size: 20px;
    margin: 0 0 6px 0;
    color: #1a1a1a;
    font-weight: 600;
}

.wwb-step-desc {
    color: #6b7280;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.wwb-offline-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wwb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .wwb-form-row {
        grid-template-columns: 1fr;
    }
}

.wwb-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wwb-offline-form label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.wwb-input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    background: #fff;
    color: #1a1a1a;
}

.wwb-input::placeholder {
    color: #9ca3af;
}

.wwb-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wwb-input-large {
    font-size: 18px;
    padding: 14px 18px;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
}

.wwb-input-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: -4px;
}

.wwb-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.wwb-btn-primary {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.wwb-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.wwb-btn-primary:active {
    transform: translateY(0);
}

.wwb-btn-block {
    width: 100%;
}

.wwb-btn-icon {
    transition: transform 0.2s;
}

.wwb-btn:hover .wwb-btn-icon {
    transform: translateX(2px);
}

.wwb-message {
    padding: 14px 18px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
    font-size: 14px;
    line-height: 1.5;
    border-left: 4px solid;
}

.wwb-message-info {
    background-color: #eff6ff;
    color: #1e40af;
    border-left-color: #3b82f6;
}

.wwb-message-success {
    background-color: #f0fdf4;
    color: #166534;
    border-left-color: #22c55e;
}

.wwb-message-error {
    background-color: #fef2f2;
    color: #991b1b;
    border-left-color: #ef4444;
}

.wwb-code-info {
    margin-top: 24px;
    padding: 20px;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #bae6fd;
}

.wwb-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.wwb-info-item:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.wwb-info-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.wwb-info-value {
    color: #059669;
    font-size: 16px;
    font-weight: 700;
}

/* Products Section */
.wwb-products-search-wrapper {
    margin-bottom: 20px;
}

.wwb-products-search {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
}

.wwb-products-search:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wwb-products-container-wrapper {
    max-height: 500px;
    overflow-y: auto;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    background: #f9fafb;
}

.wwb-products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.wwb-product-item {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s;
    background: #fff;
}

.wwb-product-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.wwb-product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
    border-radius: 6px;
}

.wwb-product-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.wwb-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #059669;
    margin: 0 0 16px 0;
}

.wwb-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wwb-qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #3b82f6;
    background: #3b82f6;
    color: #fff;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
}

.wwb-qty-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: scale(1.05);
}

.wwb-qty-btn:active {
    transform: scale(0.95);
}

.wwb-product-quantity {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.wwb-product-quantity:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wwb-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-size: 15px;
}

.wwb-order-summary {
    background: #f0f9ff;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #bae6fd;
}

.wwb-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
}

.wwb-summary-item:last-child {
    border-bottom: none;
}

.wwb-summary-item span:first-child {
    color: #6b7280;
    font-weight: 500;
}

.wwb-summary-item strong {
    color: #1a1a1a;
    font-weight: 600;
}

.wwb-summary-item.wwb-total {
    font-size: 20px;
    font-weight: 700;
    margin-top: 16px;
    padding-top: 20px;
    border-top: 2px solid #1a1a1a;
    border-bottom: none;
}

.wwb-summary-item.wwb-total span:first-child {
    color: #1a1a1a;
}

.wwb-summary-item.wwb-total strong {
    color: #059669;
    font-size: 22px;
}

.wwb-btn-large {
    padding: 18px 24px;
    font-size: 18px;
}

/* Success Message */
.wwb-order-success {
    text-align: center;
    padding: 40px 20px;
}

.wwb-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.wwb-order-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    margin: 0 0 12px 0;
}

.wwb-order-success p {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 32px 0;
}

/* Wallet Info */
.wwb-wallet-info {
    background: #e0f2fe;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

/* Expert Auth Styles */
.wwb-offline-upsell-expert-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    background: #f9fafb;
}

.wwb-expert-auth-container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 32px;
}

.wwb-expert-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.wwb-expert-auth-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.wwb-auth-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.wwb-auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #f3f4f6;
}

.wwb-tab-button {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.wwb-tab-button:hover {
    color: #3b82f6;
}

.wwb-tab-button.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.wwb-auth-tab-content {
    display: none;
}

.wwb-auth-tab-content.active {
    display: block;
}

.wwb-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wwb-auth-form .wwb-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wwb-auth-form label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.wwb-auth-form .wwb-input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    background: #fff;
    color: #1a1a1a;
    width: 100%;
    box-sizing: border-box;
}

.wwb-auth-form .wwb-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wwb-auth-form select.wwb-input {
    cursor: pointer;
}

.wwb-auth-form .wwb-btn {
    margin-top: 8px;
}

.wwb-auth-form .wwb-message {
    margin-top: 0;
}
button.wwb-btn.wwb-btn-primary.wwb-btn-block {
    background: #3b82f6;
    color: #fff;
}