/**
 * Parcel EXP — global theme (dark only)
 * Backgrounds: only #13111c (stripe A) and #1a1926 (stripe B). No indigo accent.
 * Interactive: white opacity (borders, fills, focus rings).
 */
:root {
    --color-stripe-a: #13111c;
    --color-stripe-b: #1a1926;

    /* Page + surfaces (aliases for legacy class names) */
    --color-primary: var(--color-stripe-a);
    --color-secondary: var(--color-stripe-b);

    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;

    /* Links / emphasis (neutral, not indigo) */
    --color-link: #e2e8f0;
    --color-link-hover: #ffffff;

    --color-ring: rgba(255, 255, 255, 0.35);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.22);

    /* Hero gradient text — soft purple/lavender (no #6366f1) */
    --gradient-hero-text: linear-gradient(135deg, #f0e8ff 0%, #c9b8e0 45%, #e8e0f5 100%);
}

/* Glass panels sit on stripe backgrounds */
.glass-panel {
    background: rgba(26, 25, 38, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}
.glass-panel-hover:hover {
    border-color: var(--border-hover);
    background: rgba(26, 25, 38, 0.75);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
}

.gradient-text {
    background: var(--gradient-hero-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--color-stripe-a);
    color: var(--color-text-main);
}

/* Legacy / optional components */
.card {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background-color: var(--color-secondary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.carrier-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .carrier-logo {
        height: 60px;
    }
}

/* Form fields — make borders visible on dark backgrounds */
input,
select,
textarea {
    border-color: rgba(255, 255, 255, 0.14) !important;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

/* Ensure placeholder text remains readable */
input::placeholder,
textarea::placeholder {
    color: rgba(148, 163, 184, 0.9) !important;
}
