/* JioMart Auto-Order Pro — Clean White Monochrome Design System */

:root {
    --bg-canvas: #fafafa;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f4f5;
    --border-color: #e4e4e7;
    --border-hover: #d4d4d8;
    --text-heading: #09090b;
    --text-body: #27272a;
    --text-secondary: #52525b;
    --text-muted: #71717a;
    --accent-black: #09090b;
    --accent-white: #ffffff;
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none !important;
}

#main-app-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main-app-container.hidden {
    display: none !important;
}

body {
    background-color: var(--bg-canvas);
    color: var(--text-body);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-canvas);
}
::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toastIn {
    from { transform: translateY(-10px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Header Navigation */
.header-nav {
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 40;
}

.header-container {
    max-width: 86rem;
    margin: 0 auto;
    padding: 0 2rem;
    height: 4.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.brand-logo-img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(226, 27, 36, 0.25);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    shrink: 0;
}

.brand-logo-img:hover {
    transform: scale(1.08);
}

.license-gate-logo-img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    box-shadow: 0 10px 20px -3px rgba(226, 27, 36, 0.4);
}

.brand-title-modern {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.license-pill-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: #f4f4f5;
    border: 1px solid var(--border-color);
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-heading);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    cursor: pointer;
    white-space: nowrap;
}

.nav-tabs {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: #f4f4f5;
    padding: 0.45rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.nav-active-pill {
    position: absolute;
    top: 0.45rem;
    bottom: 0.45rem;
    left: 0.5rem;
    width: 0;
    background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
    border-radius: 9999px !important;
    transition: left 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                width 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 16px rgba(9, 9, 11, 0.3);
    z-index: 1;
    pointer-events: none;
    will-change: left, width, transform;
}

/* iOS Liquid Water Drop Elastic Stretch Effect (Constrained within container) */
.nav-active-pill.morph-stretch-right {
    transform: scaleX(1.05) scaleY(0.95);
}
.nav-active-pill.morph-stretch-left {
    transform: scaleX(1.05) scaleY(0.95);
}

.tab-btn {
    position: relative;
    z-index: 2;
    padding: 0.65rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.15s cubic-bezier(0.2, 0.8, 0.4, 1), background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.tab-btn:hover {
    color: var(--text-heading);
    background-color: rgba(0, 0, 0, 0.04);
}

.tab-btn:active {
    transform: scale(0.98);
}

.tab-btn.active {
    color: var(--accent-white);
    background: transparent;
    font-weight: 700;
}

.tab-btn.active .tab-icon {
    stroke: var(--accent-white);
    transform: scale(1.05);
}

.tab-icon {
    width: 1.125rem;
    height: 1.125rem;
    stroke: var(--text-secondary);
    transition: stroke 0.25s ease, transform 0.2s ease;
}

/* Water Drop Ripple Effect */
.water-drop-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0);
    animation: waterDropExpand 0.35s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    pointer-events: none;
    z-index: 10;
}

.dark-ripple {
    background: rgba(9, 9, 11, 0.08);
}

@keyframes waterDropExpand {
    0% {
        transform: scale(0);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.tab-btn:hover {
    color: var(--text-heading);
}

.tab-btn.active {
    color: var(--accent-white);
    background: transparent;
    font-weight: 700;
}

.tab-btn.active .tab-icon {
    stroke: var(--accent-white);
}

.tab-icon {
    width: 1rem;
    height: 1rem;
    stroke: var(--text-secondary);
    transition: stroke 0.25s ease;
}

.main-container {
    max-width: 86rem;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    flex: 1;
    width: 100%;
}

/* Cards & Layout */
.mono-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.75rem;
}

.hover-lift:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.08);
}

.grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.stat-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 130px;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.stat-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--text-heading);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0.375rem 0 0.625rem 0;
}

/* Sleek, Professional Apple/Vercel Metallic Sheen Animation for JioMartTool */
.animated-brand-shimmer {
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(
        110deg,
        #09090b 0%,
        #09090b 38%,
        #e21b24 48%,
        #ffffff 52%,
        #e21b24 56%,
        #09090b 66%,
        #09090b 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: professionalSilverSheen 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    display: inline-block;
    position: relative;
    z-index: 2;
}

@keyframes professionalSilverSheen {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* Radar Sonar Dot */
.radar-dot {
    position: relative;
    background-color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.radar-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: radarExpandRing 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes engineCardBreather {
    0% {
        box-shadow: 0 8px 25px -4px rgba(226, 27, 36, 0.06);
    }
    100% {
        box-shadow: 0 12px 35px -2px rgba(226, 27, 36, 0.18);
    }
}

/* Animated Lightning Bolt Icon */
.animated-bolt {
    color: #e21b24 !important;
    animation: boltPulseGlow 2s ease-in-out infinite alternate;
}

@keyframes boltPulseGlow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(226, 27, 36, 0.2));
    }
    100% {
        transform: scale(1.18);
        filter: drop-shadow(0 0 10px rgba(226, 27, 36, 0.65));
    }
}

/* Live Radar Pulse Dot */
.radar-dot {
    position: relative;
    background-color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.radar-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: radarExpandRing 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes radarExpandRing {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.stat-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    padding-bottom: 0.25rem;
}

.pulse-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #16a34a;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.5);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.card-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.card-subtitle {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    line-height: 1.5;
}

.grid-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.step-card {
    padding: 1.75rem;
    border-radius: var(--radius-md);
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
}
.step-card:hover {
    border-color: var(--border-hover);
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
}

.step-num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: var(--text-heading);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-num-active {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--accent-black);
    color: var(--accent-white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(9, 9, 11, 0.25);
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.375rem;
}

.step-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.03em;
}

.section-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.125rem;
}

/* Buttons — All 100% Rounded Pill Shaped */
button, input[type="button"], input[type="submit"] {
    border-radius: 9999px !important;
}

.btn-mono-primary {
    background-color: var(--accent-black);
    color: var(--accent-white);
    font-weight: 800;
    border-radius: 9999px !important;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--accent-black);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(9, 9, 11, 0.18);
}
.btn-mono-primary:hover {
    background-color: #27272a;
    border-color: #27272a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(9, 9, 11, 0.25);
}

.btn-mono-secondary {
    background-color: #ffffff;
    color: var(--text-heading);
    font-weight: 600;
    border-radius: 9999px !important;
    padding: 0.625rem 1.125rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.btn-mono-secondary:hover {
    background-color: #f4f4f5;
    border-color: var(--border-hover);
}

.btn-mono-danger {
    background-color: transparent;
    color: #dc2626;
    font-weight: 600;
    border-radius: 9999px !important;
    padding: 0.375rem 0.75rem;
    border: 1px solid rgba(220, 38, 38, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-mono-danger:hover {
    background-color: rgba(220, 38, 38, 0.06);
    border-color: #dc2626;
}

/* Form Inputs */
.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    margin-bottom: 0.625rem;
    letter-spacing: 0.04em;
}

.input-mono {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-heading);
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}
.input-mono:focus {
    border-color: var(--accent-black);
    box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.08);
}
.input-mono::placeholder {
    color: #a1a1aa;
}

.checkbox-mono {
    width: 1.125rem;
    height: 1.125rem;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    accent-color: var(--accent-black);
    cursor: pointer;
}

.mono-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
}
.mono-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    background-color: #f4f4f5;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.04em;
}
.mono-table td {
    padding: 1.125rem 1.5rem;
    border-bottom: 1px solid #f4f4f5;
    color: var(--text-body);
}
.mono-table tr:hover {
    background-color: #fafafa;
}

.badge-mono {
    font-size: 0.625rem;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background-color: #f4f4f5;
    color: var(--text-heading);
    border: 1px solid var(--border-color);
    font-weight: 700;
}

/* Console Window */
.terminal-window {
    background-color: #09090b;
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-black);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-card);
}

.terminal-header {
    background-color: #18181b;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #27272a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mac-dots {
    display: flex;
    gap: 0.375rem;
}
.mac-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
}

.terminal-box {
    flex: 1;
    padding: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    background-color: #09090b;
    color: #f4f4f5;
}

.terminal-line {
    line-height: 1.6;
}

.grid-bulk {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
@media (min-width: 1024px) {
    .grid-bulk {
        grid-template-columns: 1fr 1fr;
    }
}

.checkbox-container {
    max-height: 12rem;
    overflow-y: auto;
    padding: 1rem;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.preview-box {
    padding: 1rem;
    background-color: #f4f4f5;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preview-img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
}

.grid-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.mono-modal {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 32rem;
    box-shadow: var(--shadow-modal);
}

/* Modal Sub-Tabs Navigation Bar */
.modal-tabs-nav {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #f4f4f5;
    padding: 0.35rem 0.4rem;
    height: 2.75rem;
    border-radius: 9999px !important;
    border: 1px solid var(--border-color);
    gap: 0.25rem;
    overflow: hidden;
}

.modal-active-pill {
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    left: 0.4rem;
    width: 0;
    background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
    border-radius: 9999px !important;
    transition: left 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                width 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 14px rgba(9, 9, 11, 0.3);
    z-index: 1;
    pointer-events: none;
    will-change: left, width, transform;
}

.modal-active-pill.morph-stretch-right {
    transform: scaleX(1.05) scaleY(0.95);
}
.modal-active-pill.morph-stretch-left {
    transform: scaleX(1.05) scaleY(0.95);
}

.modal-tab-btn {
    position: relative;
    z-index: 2;
    flex: 1;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 9999px !important;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.15s cubic-bezier(0.2, 0.8, 0.4, 1);
    text-align: center;
    overflow: hidden;
}

.modal-tab-btn:hover {
    color: var(--text-heading);
}

.modal-tab-btn:active {
    transform: scale(0.94);
}

.modal-tab-btn.active {
    background: transparent;
    color: var(--accent-white);
    font-weight: 800;
}

/* Fixed Min-Height Wrapper to prevent vertical modal jumping */
.modal-panels-wrapper {
    min-height: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.modal-panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: modalPanelFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPanelFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashed Border Upload Zone for Cookie Files */
.dashed-drop-zone {
    border: 2px dashed #d4d4d8 !important;
    background-color: #fafafa;
    border-radius: 1.25rem;
    padding: 1.5rem 1rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 7.5rem;
}

.dashed-drop-zone:hover {
    border-color: #09090b !important;
    background-color: #f4f4f5;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

/* Modal Close Button (Top Right X) */
.btn-close-modal {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: #f4f4f5;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
}

.btn-close-modal:hover {
    background-color: var(--accent-black);
    color: var(--accent-white);
    border-color: var(--accent-black);
    transform: rotate(90deg);
}

/* Address Type Pills - Force Single Horizontal Line */
.addr-type-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.5rem !important;
}

.addr-type-pill {
    flex: 1 1 0% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    border-radius: 9999px !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex { display: flex; }
.flex-1 { flex: 1; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.hidden { display: none !important; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.footer {
    border-top: 1px solid var(--border-color);
    padding: 1.75rem 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Multi-Cart Block & Collapsible Styles */
.cart-block-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    background-color: #ffffff;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}
.cart-block-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
}
.cart-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.cart-block-title {
    font-size: 0.875rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

.collapsible-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: #fcfcfc;
    overflow: hidden;
}
.collapsible-header {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    font-size: 0.875rem;
}
.collapsible-header:hover {
    background-color: #f4f4f5;
}
.collapsible-body {
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
    background-color: #ffffff;
}

.opts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.opt-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-heading);
    cursor: pointer;
}

/* Cart Block Layout Fixes */
.cart-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px 65px auto;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
}

.cart-url-input {
    min-width: 0 !important;
    width: 100% !important;
}

/* Full-Page Dedicated License Gate Screen */
.license-gate-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #09090b;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.license-gate-card {
    max-width: 440px;
    width: 100%;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.license-gate-logo {
    width: 64px;
    height: 64px;
    background: #ffffff;
    color: #000000;
    font-weight: 900;
    font-size: 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.1);
}

.license-gate-title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.license-gate-subtitle {
    font-size: 0.75rem;
    color: #a1a1aa;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.license-gate-input {
    width: 100%;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.15em;
    color: #ffffff;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 1.25rem;
}

.license-gate-input:focus {
    border-color: #ffffff;
}

.license-gate-btn {
    width: 100%;
    background: #ffffff;
    color: #09090b;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.9rem;
    border-radius: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.license-gate-btn:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
}
