/**
 * LiquidShip - Liquid Glass Design System
 * 
 * A comprehensive Glassmorphism design system with smooth entrance animations,
 * hover effects, and responsive layouts.
 * 
 * @package LiquidShip
 */

/* ================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ================================================ */
:root {
    /* Glass Effect Variables */
    --ls-glass-bg: rgba(255, 255, 255, 0.75);
    --ls-glass-bg-dark: rgba(255, 255, 255, 0.85);
    --ls-glass-border: rgba(255, 255, 255, 0.4);
    --ls-glass-blur: 20px;
    --ls-glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    --ls-glass-shadow-hover: 0 12px 40px rgba(0, 217, 165, 0.25);

    /* Liquid Gradient Colors */
    --ls-primary: #00d9a5;
    --ls-primary-dark: #00b894;
    --ls-secondary: #00b4d8;
    --ls-accent: #8b5cf6;
    --ls-success: #10b981;
    --ls-warning: #f59e0b;
    --ls-danger: #ef4444;

    /* Gradient Definitions */
    --ls-gradient-primary: linear-gradient(135deg, #00d9a5 0%, #00b4d8 100%);
    --ls-gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --ls-gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --ls-gradient-cool: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --ls-gradient-bg: linear-gradient(135deg, #e0e5ec 0%, #f5f7fa 100%);

    /* Typography */
    --ls-font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --ls-font-size-xs: 0.75rem;
    --ls-font-size-sm: 0.875rem;
    --ls-font-size-base: 1rem;
    --ls-font-size-lg: 1.125rem;
    --ls-font-size-xl: 1.25rem;
    --ls-font-size-2xl: 1.5rem;
    --ls-font-size-3xl: 2rem;
    --ls-font-size-4xl: 2.5rem;

    /* Spacing */
    --ls-space-xs: 0.25rem;
    --ls-space-sm: 0.5rem;
    --ls-space-md: 1rem;
    --ls-space-lg: 1.5rem;
    --ls-space-xl: 2rem;
    --ls-space-2xl: 3rem;
    --ls-space-3xl: 4rem;

    /* Border Radius */
    --ls-radius-sm: 8px;
    --ls-radius-md: 12px;
    --ls-radius-lg: 16px;
    --ls-radius-xl: 24px;
    --ls-radius-full: 9999px;

    /* Animation Timings */
    --ls-duration-fast: 0.2s;
    --ls-duration-normal: 0.4s;
    --ls-duration-slow: 0.6s;
    --ls-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --ls-easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index Scale */
    --ls-z-base: 1;
    --ls-z-dropdown: 100;
    --ls-z-modal: 1000;
    --ls-z-toast: 2000;
}

/* ================================================
   KEYFRAME ANIMATIONS
   ================================================ */

/* Fade In Up - Main container animation */
@keyframes ls-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Scale - For modals and popups */
@keyframes ls-fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In Right - For tab content */
@keyframes ls-slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Left */
@keyframes ls-slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger Fade - For list items */
@keyframes ls-staggerFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pop Effect - For success checkmark */
@keyframes ls-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* SVG Stroke Drawing */
@keyframes ls-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Pulse Glow */
@keyframes ls-pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 217, 165, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 217, 165, 0.5);
    }
}

/* Shimmer Loading */
@keyframes ls-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Float Animation */
@keyframes ls-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ================================================
   BASE STYLES
   ================================================ */

.liquidship-wrapper {
    font-family: var(--ls-font-family);
    line-height: 1.6;
    color: #1a1a2e;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.liquidship-wrapper * {
    box-sizing: border-box;
}

/* ================================================
   GLASSMORPHISM CONTAINERS
   ================================================ */

/* Main Glass Container */
.ls-glass {
    background: var(--ls-glass-bg);
    backdrop-filter: blur(var(--ls-glass-blur));
    -webkit-backdrop-filter: blur(var(--ls-glass-blur));
    border: 1px solid var(--ls-glass-border);
    border-radius: var(--ls-radius-xl);
    box-shadow: var(--ls-glass-shadow);
    animation: ls-fadeInUp var(--ls-duration-slow) var(--ls-easing) both;
}

/* Glass Card */
.ls-glass-card {
    background: var(--ls-glass-bg-dark);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--ls-glass-border);
    border-radius: var(--ls-radius-lg);
    box-shadow: var(--ls-glass-shadow);
    padding: var(--ls-space-lg);
    transition: all var(--ls-duration-fast) var(--ls-easing);
}

.ls-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ls-glass-shadow-hover);
}

/* Gradient Background Container */
.ls-gradient-bg {
    background: var(--ls-gradient-bg);
    min-height: 100vh;
    padding: var(--ls-space-2xl);
}

/* ================================================
   FORM WIZARD STYLES
   ================================================ */

.ls-wizard {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--ls-space-2xl);
}

/* Step Progress Bar */
.ls-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--ls-space-2xl);
    position: relative;
}

.ls-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    z-index: 0;
}

.ls-progress-line {
    position: absolute;
    top: 20px;
    left: 50px;
    height: 3px;
    background: var(--ls-gradient-primary);
    border-radius: 3px;
    transition: width var(--ls-duration-normal) var(--ls-easing);
    z-index: 1;
}

.ls-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.ls-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--ls-font-size-lg);
    color: #999;
    transition: all var(--ls-duration-fast) var(--ls-easing);
}

.ls-step.active .ls-step-number {
    background: var(--ls-gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 217, 165, 0.4);
}

.ls-step.completed .ls-step-number {
    background: var(--ls-success);
    border-color: transparent;
    color: #fff;
}

.ls-step-label {
    margin-top: var(--ls-space-sm);
    font-size: var(--ls-font-size-sm);
    color: #666;
    font-weight: 500;
    text-align: center;
}

.ls-step.active .ls-step-label {
    color: var(--ls-primary);
    font-weight: 600;
}

/* Form Steps Container */
.ls-steps-container {
    position: relative;
    overflow: hidden;
}

.ls-form-step {
    display: none;
    animation: ls-slideInRight var(--ls-duration-normal) var(--ls-easing);
}

.ls-form-step.active {
    display: block;
}

/* Form Groups */
.ls-form-group {
    margin-bottom: var(--ls-space-lg);
    opacity: 0;
    animation: ls-staggerFade var(--ls-duration-normal) var(--ls-easing) forwards;
}

/* Staggered delays for form inputs */
.ls-form-step.active .ls-form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.ls-form-step.active .ls-form-group:nth-child(2) {
    animation-delay: 0.15s;
}

.ls-form-step.active .ls-form-group:nth-child(3) {
    animation-delay: 0.2s;
}

.ls-form-step.active .ls-form-group:nth-child(4) {
    animation-delay: 0.25s;
}

.ls-form-step.active .ls-form-group:nth-child(5) {
    animation-delay: 0.3s;
}

.ls-form-step.active .ls-form-group:nth-child(6) {
    animation-delay: 0.35s;
}

.ls-form-step.active .ls-form-group:nth-child(7) {
    animation-delay: 0.4s;
}

.ls-form-step.active .ls-form-group:nth-child(8) {
    animation-delay: 0.45s;
}

.ls-label {
    display: block;
    margin-bottom: var(--ls-space-sm);
    font-weight: 600;
    font-size: var(--ls-font-size-sm);
    color: #374151;
}

.ls-label .required {
    color: var(--ls-danger);
}

/* ================================================
   INPUT FIELDS (Cut-out / Inset Effect)
   ================================================ */

.ls-input,
.ls-select,
.ls-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: var(--ls-font-size-base);
    font-family: inherit;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--ls-radius-md);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
    transition: all var(--ls-duration-fast) var(--ls-easing);
    outline: none;
}

.ls-input:focus,
.ls-select:focus,
.ls-textarea:focus {
    border-color: var(--ls-primary);
    background: #fff;
    box-shadow:
        inset 2px 2px 5px rgba(0, 0, 0, 0.02),
        0 0 0 4px rgba(0, 217, 165, 0.15);
}

.ls-input::placeholder {
    color: #9ca3af;
}

.ls-input.error {
    border-color: var(--ls-danger);
    background: rgba(239, 68, 68, 0.05);
}

.ls-textarea {
    min-height: 100px;
    resize: vertical;
}

.ls-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 45px;
}

/* Input with icon */
.ls-input-icon-wrapper {
    position: relative;
}

.ls-input-icon-wrapper .ls-input {
    padding-left: 48px;
}

.ls-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9ca3af;
}

/* ================================================
   PHONE INPUT - PIXEL PERFECT (Light Theme)
   Matches Reference Image Exactly
   ================================================ */

/* Label - Above the input */
.ls-phone-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 6px;
    display: block;
}

/* Main Phone Field Container - WHITE background */
.ls-phone-field {
    display: flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.15s ease;
    overflow: visible;
    height: 48px;
}

/* State: Idle (default) - Light grey border */
.ls-phone-field[data-state="idle"] {
    border-color: #e5e7eb;
}

.ls-phone-field[data-state="idle"]:hover {
    border-color: #d1d5db;
}

/* State: Focused - Cyan/Turquoise border (matching image) */
.ls-phone-field[data-state="focused"],
.ls-phone-field:focus-within {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* State: Error - Red border (matching image) */
.ls-phone-field[data-state="error"] {
    border-color: #ef4444;
    background: #fef2f2;
}

/* State: Valid - Default border (checkmark shows) */
.ls-phone-field[data-state="valid"] {
    border-color: #e5e7eb;
}

/* Country Picker (Left Side) - Flag + Code + Arrows */
.ls-phone-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 100%;
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;
    border-right: 1px solid #e5e7eb;
}

.ls-phone-picker:hover {
    background: #f9fafb;
}

.ls-phone-picker-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.ls-phone-picker-code {
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
}

/* Up/Down Arrows (matching reference image) */
.ls-phone-picker-arrow {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #9ca3af;
    margin-left: 4px;
}

.ls-phone-picker-arrow svg {
    width: 8px;
    height: 8px;
}

/* Hide the divider - using border-right on picker instead */
.ls-phone-divider {
    display: none;
}

/* Phone Number Input (Right Side) */
.ls-phone-number-input {
    flex: 1;
    padding: 0 40px 0 12px;
    height: 100%;
    background: transparent;
    border: none;
    color: #1f2937;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}

.ls-phone-number-input::placeholder {
    color: #9ca3af;
}

/* Success Checkmark - TEAL color matching image */
.ls-phone-check {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    color: #14b8a6;
}

.ls-phone-field[data-state="valid"] .ls-phone-check {
    display: flex;
    align-items: center;
    animation: checkPop 0.3s ease;
}

.ls-phone-check svg {
    width: 22px;
    height: 22px;
}

@keyframes checkPop {
    0% {
        transform: translateY(-50%) scale(0);
        opacity: 0;
    }

    50% {
        transform: translateY(-50%) scale(1.15);
    }

    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

/* Country Dropdown - White background matching image */
.ls-phone-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 320px;
    overflow: hidden;
}

.ls-phone-dropdown.open {
    display: block;
    animation: dropdownSlide 0.2s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Search Bar */
.ls-phone-dropdown-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.ls-phone-search-icon {
    color: #9ca3af;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.ls-phone-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #1f2937;
    font-size: 0.9rem;
    outline: none;
}

.ls-phone-search-input::placeholder {
    color: #9ca3af;
}

/* Country List */
.ls-phone-country-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 8px 0;
}

.ls-phone-country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.1s ease;
}

.ls-phone-country-option:hover {
    background: #f9fafb;
}

.ls-phone-country-option.selected {
    background: #eff6ff;
}

.ls-phone-country-option .flag {
    font-size: 1.25rem;
    width: 26px;
    text-align: center;
}

.ls-phone-country-option .name {
    flex: 1;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Dial code in grey badge - matching reference image */
.ls-phone-country-option .dial {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* Helper Text (below input, grey) */
.ls-phone-helper {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 8px;
    padding-left: 2px;
}

.ls-phone-field[data-state="error"]~.ls-phone-helper {
    display: none;
}

/* Error Message (below input, red) - matching image format */
.ls-phone-error {
    display: none;
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 8px;
    padding-left: 2px;
}

.ls-phone-field[data-state="error"]~.ls-phone-error {
    display: block;
    animation: errorFade 0.2s ease;
}

.ls-phone-error-text {
    font-weight: 400;
}

.ls-phone-error-detail {
    color: #ef4444;
}

.ls-phone-error-detail::before {
    content: " | ";
    color: #ef4444;
}

@keyframes errorFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ================================================
   LEGACY PHONE INPUT SUPPORT (Keep for compatibility)
   ================================================ */

.ls-phone-unified {
    display: flex;
    align-items: stretch;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ls-radius-md);
    background: rgba(255, 255, 255, 0.05);
}

.ls-phone-input {
    flex: 1;
    padding: 12px 45px 12px 14px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: var(--ls-font-size-base);
    outline: none;
}

/* Legacy support - keep old classes working */
.ls-phone-input-group {
    display: flex;
    gap: var(--ls-space-sm);
    align-items: stretch;
}

.ls-country-select {
    flex: 0 0 auto;
    width: 100px;
    min-width: 100px;
    padding: 12px 10px;
    font-size: var(--ls-font-size-sm);
    text-align: center;
}

.ls-phone-input-wrapper {
    flex: 1;
    position: relative;
}

.ls-phone-input-wrapper .ls-input {
    width: 100%;
}

/* Alert Success Style */
.ls-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    padding: var(--ls-space-md);
    border-radius: var(--ls-radius-md);
    display: flex;
    align-items: center;
    gap: var(--ls-space-sm);
}

/* ================================================
   BUTTONS
   ================================================ */

.ls-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ls-space-sm);
    padding: 14px 28px;
    font-size: var(--ls-font-size-base);
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--ls-radius-md);
    cursor: pointer;
    transition: all var(--ls-duration-fast) var(--ls-easing);
    outline: none;
    text-decoration: none;
}

.ls-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Primary Button */
.ls-btn-primary {
    background: var(--ls-gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 217, 165, 0.3);
}

.ls-btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 165, 0.4);
}

.ls-btn-primary:active:not(:disabled) {
    transform: translateY(-1px);
}

/* Secondary Button */
.ls-btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #374151;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.ls-btn-secondary:hover:not(:disabled) {
    background: #fff;
    border-color: var(--ls-primary);
    color: var(--ls-primary);
}

/* Ghost Button */
.ls-btn-ghost {
    background: transparent;
    color: var(--ls-primary);
    padding: 10px 16px;
}

.ls-btn-ghost:hover:not(:disabled) {
    background: rgba(0, 217, 165, 0.1);
}

/* Danger Button */
.ls-btn-danger {
    background: var(--ls-danger);
    color: #fff;
}

.ls-btn-danger:hover:not(:disabled) {
    background: #dc2626;
    transform: translateY(-2px);
}

/* Small Button */
.ls-btn-sm {
    padding: 8px 16px;
    font-size: var(--ls-font-size-sm);
}

/* Button Group */
.ls-btn-group {
    display: flex;
    gap: var(--ls-space-md);
    margin-top: var(--ls-space-xl);
}

/* ================================================
   PRODUCT TABLE (Dynamic)
   ================================================ */

.ls-products-table-wrapper {
    overflow-x: auto;
    margin: var(--ls-space-lg) 0;
}

.ls-products-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--ls-radius-lg);
    overflow: hidden;
}

.ls-products-table thead {
    background: var(--ls-gradient-primary);
    color: #fff;
}

.ls-products-table th {
    padding: var(--ls-space-md);
    text-align: left;
    font-weight: 600;
    font-size: var(--ls-font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ls-products-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    animation: ls-staggerFade var(--ls-duration-normal) var(--ls-easing) forwards;
    opacity: 0;
}

.ls-products-table tbody tr:nth-child(1) {
    animation-delay: 0.05s;
}

.ls-products-table tbody tr:nth-child(2) {
    animation-delay: 0.1s;
}

.ls-products-table tbody tr:nth-child(3) {
    animation-delay: 0.15s;
}

.ls-products-table tbody tr:nth-child(4) {
    animation-delay: 0.2s;
}

.ls-products-table tbody tr:nth-child(5) {
    animation-delay: 0.25s;
}

.ls-products-table tbody tr:hover {
    background: rgba(0, 217, 165, 0.05);
}

.ls-products-table td {
    padding: var(--ls-space-md);
}

.ls-products-table .ls-input {
    padding: 10px 14px;
}

.ls-products-table tfoot {
    background: rgba(0, 0, 0, 0.02);
    font-weight: 700;
}

.ls-products-table tfoot td {
    padding: var(--ls-space-lg);
}

.ls-total-cod {
    font-size: var(--ls-font-size-xl);
    color: var(--ls-primary-dark);
}

/* Add Product Button */
.ls-add-product-btn {
    width: 100%;
    padding: var(--ls-space-md);
    border: 2px dashed rgba(0, 217, 165, 0.5);
    background: transparent;
    color: var(--ls-primary);
    font-weight: 600;
    border-radius: var(--ls-radius-md);
    cursor: pointer;
    transition: all var(--ls-duration-fast) var(--ls-easing);
}

.ls-add-product-btn:hover {
    background: rgba(0, 217, 165, 0.1);
    border-color: var(--ls-primary);
}

/* Remove Row Button - Small subtle X icon */
.ls-remove-row {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    transition: all var(--ls-duration-fast) var(--ls-easing);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.ls-remove-row:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    opacity: 1;
    transform: scale(1.1);
}

/* ================================================
   DASHBOARD TABS
   ================================================ */

.ls-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--ls-space-xl);
}

.ls-tabs {
    display: flex;
    gap: var(--ls-space-sm);
    margin-bottom: var(--ls-space-xl);
    padding: var(--ls-space-sm);
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--ls-radius-lg);
    overflow-x: auto;
}

.ls-tab-btn {
    flex: 1;
    min-width: 120px;
    padding: var(--ls-space-md) var(--ls-space-lg);
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: var(--ls-font-size-sm);
    color: #666;
    cursor: pointer;
    border-radius: var(--ls-radius-md);
    transition: all var(--ls-duration-fast) var(--ls-easing);
    white-space: nowrap;
}

.ls-tab-btn:hover {
    background: rgba(0, 217, 165, 0.1);
    color: var(--ls-primary);
}

.ls-tab-btn.active {
    background: var(--ls-gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 217, 165, 0.3);
}

.ls-tab-content {
    display: none;
    animation: ls-fadeInUp var(--ls-duration-normal) var(--ls-easing);
}

.ls-tab-content.active {
    display: block;
}

/* ================================================
   STATS CARDS
   ================================================ */

.ls-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--ls-space-lg);
    margin-bottom: var(--ls-space-xl);
}

.ls-stat-card {
    padding: var(--ls-space-xl);
    text-align: center;
    opacity: 0;
    animation: ls-staggerFade var(--ls-duration-normal) var(--ls-easing) forwards;
}

.ls-stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.ls-stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.ls-stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.ls-stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.ls-stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--ls-space-md);
    border-radius: var(--ls-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.ls-stat-icon.shipments {
    background: rgba(0, 217, 165, 0.15);
}

.ls-stat-icon.sales {
    background: rgba(0, 180, 216, 0.15);
}

.ls-stat-icon.earnings {
    background: rgba(139, 92, 246, 0.15);
}

.ls-stat-icon.pending {
    background: rgba(245, 158, 11, 0.15);
}

.ls-stat-value {
    font-size: var(--ls-font-size-3xl);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: var(--ls-space-xs);
}

.ls-stat-label {
    font-size: var(--ls-font-size-sm);
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filters */
.ls-filters {
    display: flex;
    gap: var(--ls-space-sm);
    margin-bottom: var(--ls-space-lg);
    flex-wrap: wrap;
}

.ls-filter-btn {
    padding: 8px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--ls-radius-full);
    font-weight: 500;
    font-size: var(--ls-font-size-sm);
    color: #666;
    cursor: pointer;
    transition: all var(--ls-duration-fast) var(--ls-easing);
}

.ls-filter-btn:hover,
.ls-filter-btn.active {
    background: var(--ls-primary);
    border-color: var(--ls-primary);
    color: #fff;
}

/* ================================================
   DATA TABLE (Shipments)
   ================================================ */

.ls-data-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--ls-radius-lg);
    overflow: hidden;
}

.ls-data-table thead {
    background: rgba(0, 0, 0, 0.03);
}

.ls-data-table th {
    padding: var(--ls-space-md);
    text-align: left;
    font-weight: 600;
    font-size: var(--ls-font-size-sm);
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ls-data-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background var(--ls-duration-fast) var(--ls-easing);
}

.ls-data-table tbody tr:hover {
    background: rgba(0, 217, 165, 0.05);
}

.ls-data-table td {
    padding: var(--ls-space-md);
    font-size: var(--ls-font-size-sm);
}

/* Status Badges */
.ls-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--ls-radius-full);
    font-size: var(--ls-font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ls-badge-processing {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.ls-badge-shipped {
    background: rgba(0, 180, 216, 0.15);
    color: #0891b2;
}

.ls-badge-delivered {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.ls-badge-completed {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.ls-badge-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.ls-badge-pending {
    background: rgba(156, 163, 175, 0.15);
    color: #6b7280;
}

/* Action Buttons */
.ls-actions {
    display: flex;
    gap: var(--ls-space-sm);
}

.ls-action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--ls-radius-sm);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ls-duration-fast) var(--ls-easing);
    font-size: 14px;
}

.ls-action-btn.view {
    background: rgba(0, 180, 216, 0.1);
    color: var(--ls-secondary);
}

.ls-action-btn.print {
    background: rgba(139, 92, 246, 0.1);
    color: var(--ls-accent);
}

.ls-action-btn:hover {
    transform: scale(1.1);
}

/* ================================================
   WALLET SECTION
   ================================================ */

.ls-wallet-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--ls-space-lg);
    margin-bottom: var(--ls-space-xl);
}

.ls-wallet-card {
    padding: var(--ls-space-xl);
    border-radius: var(--ls-radius-lg);
    text-align: center;
}

.ls-wallet-card.balance {
    background: var(--ls-gradient-primary);
    color: #fff;
}

.ls-wallet-card.earnings {
    background: var(--ls-gradient-accent);
    color: #fff;
}

.ls-wallet-card-label {
    font-size: var(--ls-font-size-sm);
    opacity: 0.9;
    margin-bottom: var(--ls-space-sm);
}

.ls-wallet-card-value {
    font-size: var(--ls-font-size-4xl);
    font-weight: 800;
}

.ls-wallet-card-currency {
    font-size: var(--ls-font-size-lg);
    opacity: 0.8;
}

/* Transaction History */
.ls-transactions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ls-transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ls-space-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background var(--ls-duration-fast) var(--ls-easing);
}

.ls-transaction-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.ls-transaction-info {
    display: flex;
    align-items: center;
    gap: var(--ls-space-md);
}

.ls-transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-transaction-icon.credit {
    background: rgba(16, 185, 129, 0.15);
    color: var(--ls-success);
}

.ls-transaction-icon.debit {
    background: rgba(239, 68, 68, 0.15);
    color: var(--ls-danger);
}

.ls-transaction-desc {
    font-weight: 500;
}

.ls-transaction-date {
    font-size: var(--ls-font-size-xs);
    color: #666;
}

.ls-transaction-amount {
    font-weight: 700;
    font-size: var(--ls-font-size-lg);
}

.ls-transaction-amount.credit {
    color: var(--ls-success);
}

.ls-transaction-amount.debit {
    color: var(--ls-danger);
}

/* ================================================
   MODAL (Liquid Glass)
   ================================================ */

.ls-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--ls-z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--ls-duration-fast) var(--ls-easing);
}

.ls-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ls-modal {
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--ls-space-xl);
    transform: scale(0.9);
    transition: transform var(--ls-duration-fast) var(--ls-easing);
}

.ls-modal-overlay.active .ls-modal {
    transform: scale(1);
}

.ls-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--ls-space-lg);
    padding-bottom: var(--ls-space-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ls-modal-title {
    font-size: var(--ls-font-size-xl);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.ls-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all var(--ls-duration-fast) var(--ls-easing);
}

.ls-modal-close:hover {
    background: var(--ls-danger);
    color: #fff;
}

/* ================================================
   SUCCESS PAGE (Order Confirmed)
   ================================================ */

.ls-success-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ls-space-2xl);
}

.ls-success-container {
    text-align: center;
    max-width: 500px;
    padding: var(--ls-space-3xl);
    animation: ls-pop 0.5s var(--ls-easing-bounce) 0.3s both;
}

/* Animated Checkmark SVG */
.ls-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--ls-space-xl);
}

.ls-checkmark-circle {
    stroke: var(--ls-success);
    stroke-width: 3;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: ls-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.ls-checkmark-check {
    stroke: var(--ls-success);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: ls-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.ls-success-title {
    font-size: var(--ls-font-size-3xl);
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 var(--ls-space-md);
}

.ls-success-message {
    font-size: var(--ls-font-size-lg);
    color: #666;
    margin: 0 0 var(--ls-space-xl);
}

.ls-order-number {
    display: inline-flex;
    align-items: center;
    gap: var(--ls-space-sm);
    padding: var(--ls-space-md) var(--ls-space-xl);
    background: rgba(0, 217, 165, 0.1);
    border-radius: var(--ls-radius-full);
    font-weight: 600;
    color: var(--ls-primary-dark);
    margin-bottom: var(--ls-space-xl);
}

/* ================================================
   PROFILE SECTION
   ================================================ */

.ls-profile-card {
    padding: var(--ls-space-xl);
}

.ls-profile-header {
    display: flex;
    align-items: center;
    gap: var(--ls-space-lg);
    margin-bottom: var(--ls-space-xl);
    padding-bottom: var(--ls-space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ls-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ls-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    font-weight: 700;
}

.ls-profile-name {
    font-size: var(--ls-font-size-2xl);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.ls-profile-email {
    color: #666;
    margin: var(--ls-space-xs) 0 0;
}

.ls-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--ls-space-lg);
}

.ls-profile-item {
    padding: var(--ls-space-md);
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--ls-radius-md);
}

.ls-profile-item-label {
    font-size: var(--ls-font-size-xs);
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--ls-space-xs);
}

.ls-profile-item-value {
    font-weight: 600;
    color: #1a1a2e;
}

/* ================================================
   LOADING STATES
   ================================================ */

.ls-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ls-space-2xl);
}

.ls-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 217, 165, 0.2);
    border-top-color: var(--ls-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ls-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: ls-shimmer 1.5s infinite;
    border-radius: var(--ls-radius-sm);
}

/* ================================================
   ALERTS / MESSAGES
   ================================================ */

.ls-alert {
    padding: var(--ls-space-md) var(--ls-space-lg);
    border-radius: var(--ls-radius-md);
    margin-bottom: var(--ls-space-lg);
    display: flex;
    align-items: center;
    gap: var(--ls-space-md);
    animation: ls-slideInRight var(--ls-duration-normal) var(--ls-easing);
}

.ls-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.ls-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.ls-alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #92400e;
}

.ls-alert-info {
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    color: #0c4a6e;
}

/* ================================================
   REVIEW SUMMARY (Step 4)
   ================================================ */

.ls-review-section {
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--ls-radius-lg);
    padding: var(--ls-space-lg);
    margin-bottom: var(--ls-space-lg);
}

.ls-review-section-title {
    font-size: var(--ls-font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin: 0 0 var(--ls-space-md);
    padding-bottom: var(--ls-space-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ls-review-row {
    display: flex;
    justify-content: space-between;
    padding: var(--ls-space-sm) 0;
}

.ls-review-label {
    color: #666;
}

.ls-review-value {
    font-weight: 600;
    color: #1a1a2e;
}

.ls-review-total {
    font-size: var(--ls-font-size-xl);
    padding: var(--ls-space-md);
    background: var(--ls-gradient-primary);
    color: #fff;
    border-radius: var(--ls-radius-md);
    margin-top: var(--ls-space-md);
}

/* ================================================
   PASSWORD FIELD (Smart Auth)
   ================================================ */

.ls-password-section {
    background: rgba(0, 217, 165, 0.05);
    border: 2px solid rgba(0, 217, 165, 0.2);
    border-radius: var(--ls-radius-lg);
    padding: var(--ls-space-lg);
    margin-top: var(--ls-space-lg);
    animation: ls-fadeInUp var(--ls-duration-normal) var(--ls-easing);
}

.ls-password-section .ls-welcome {
    font-weight: 600;
    color: var(--ls-primary-dark);
    margin: 0 0 var(--ls-space-md);
}

.ls-forgot-password {
    font-size: var(--ls-font-size-sm);
    color: var(--ls-primary);
    text-decoration: none;
    margin-top: var(--ls-space-sm);
    display: inline-block;
}

.ls-forgot-password:hover {
    text-decoration: underline;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    :root {
        --ls-space-2xl: 1.5rem;
        --ls-space-3xl: 2rem;
    }

    .ls-wizard,
    .ls-dashboard {
        padding: var(--ls-space-md);
    }

    .ls-glass {
        border-radius: var(--ls-radius-lg);
        padding: var(--ls-space-lg);
    }

    .ls-progress {
        flex-direction: row;
        overflow-x: auto;
        gap: var(--ls-space-md);
        padding-bottom: var(--ls-space-sm);
    }

    .ls-progress::before {
        display: none;
    }

    .ls-progress-line {
        display: none;
    }

    .ls-step {
        flex: 0 0 auto;
    }

    .ls-step-number {
        width: 36px;
        height: 36px;
        font-size: var(--ls-font-size-base);
    }

    .ls-step-label {
        font-size: var(--ls-font-size-xs);
    }

    .ls-tabs {
        flex-wrap: nowrap;
        padding: var(--ls-space-xs);
    }

    .ls-tab-btn {
        min-width: 80px;
        padding: var(--ls-space-sm) var(--ls-space-md);
        font-size: var(--ls-font-size-xs);
    }

    .ls-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ls-stat-card {
        padding: var(--ls-space-md);
    }

    .ls-stat-value {
        font-size: var(--ls-font-size-2xl);
    }

    .ls-btn-group {
        flex-direction: column;
    }

    .ls-wallet-header {
        grid-template-columns: 1fr;
    }

    .ls-wallet-card-value {
        font-size: var(--ls-font-size-3xl);
    }

    .ls-data-table {
        font-size: var(--ls-font-size-xs);
    }

    .ls-data-table th,
    .ls-data-table td {
        padding: var(--ls-space-sm);
    }

    .ls-modal {
        width: 95%;
        padding: var(--ls-space-lg);
    }

    .ls-success-container {
        padding: var(--ls-space-xl);
    }

    .ls-checkmark {
        width: 80px;
        height: 80px;
    }

    .ls-success-title {
        font-size: var(--ls-font-size-2xl);
    }

    .ls-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .ls-profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ls-stats-grid {
        grid-template-columns: 1fr;
    }

    .ls-filters {
        justify-content: center;
    }

    .ls-filter-btn {
        flex: 1;
        text-align: center;
    }
}

/* ================================================
   PRINT STYLES
   ================================================ */

@media print {
    .ls-glass {
        box-shadow: none !important;
        backdrop-filter: none !important;
        background: #fff !important;
    }

    .ls-btn,
    .ls-tabs,
    .ls-filters {
        display: none !important;
    }

    .ls-data-table {
        box-shadow: none;
    }
}

/* ================================================
   ACCESSIBILITY
   ================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible styles */
.ls-btn:focus-visible,
.ls-input:focus-visible,
.ls-tab-btn:focus-visible {
    outline: 2px solid var(--ls-primary);
    outline-offset: 2px;
}

/* Screen reader only */
.ls-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================================
   MOBILE RESPONSIVENESS & ICONS
   ================================================ */
@media (max-width: 768px) {
    .ls-profile-name {
        font-size: 1.2rem !important; /* Smaller font for mobile */
        word-break: break-word;
    }
}

/* Action Icon Buttons */
.ls-action-icon-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ls-radius-sm);
    border: 1px solid rgba(0,0,0,0.1);
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 5px;
}

.ls-action-icon-btn svg {
    pointer-events: none; /* Prevent click on SVG */
}

.ls-action-icon-btn:hover {
    background: var(--ls-primary);
    color: white;
    border-color: var(--ls-primary);
}

.ls-action-icon-btn.view {
    color: var(--ls-secondary);
    background: rgba(0, 180, 216, 0.1);
    border-color: rgba(0, 180, 216, 0.2);
}

.ls-action-icon-btn.view:hover {
    background: var(--ls-secondary);
    color: white;
}

.ls-action-icon-btn.print {
    color: var(--ls-accent);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.ls-action-icon-btn.print:hover {
    background: var(--ls-accent);
    color: white;
}