/* ============================================================================
   NOREX GUARD FRONTEND — 3D ANTRASIT/MAVI TASARIM
   Bayi paneli + Müşteri sorgulama
   ============================================================================ */

.norex-frontend {
    --nx-primary: #0f4c75;
    --nx-primary-light: #3282b8;
    --nx-primary-lighter: #bbe1fa;
    --nx-dark: #0f172a;
    --nx-dark-2: #1a2332;
    --nx-dark-3: #1e293b;
    --nx-success: #10b981;
    --nx-warning: #f59e0b;
    --nx-danger: #ef4444;
    --nx-text: #e2e8f0;
    --nx-text-muted: #94a3b8;
    --nx-border: rgba(148, 163, 184, 0.15);
    --nx-glass: rgba(30, 41, 59, 0.6);
    --nx-glass-light: rgba(30, 41, 59, 0.4);

    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1a2332 50%, #0f4c75 100%);
    background-attachment: fixed;
    color: var(--nx-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    position: relative;
    overflow-x: hidden;
    padding: 40px 20px;
}
.norex-frontend *, .norex-frontend *::before, .norex-frontend *::after { box-sizing: border-box; }

/* ============================================ BACKGROUND ANIMATION ============================================ */
.norex-bg-animation {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.norex-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: norex-float 20s ease-in-out infinite;
}
.norex-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(50, 130, 184, 0.8), transparent);
    top: -10%; left: -10%;
    animation-delay: 0s;
}
.norex-orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(15, 76, 117, 0.7), transparent);
    bottom: -20%; right: -10%;
    animation-delay: 5s;
}
.norex-orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(187, 225, 250, 0.3), transparent);
    top: 40%; left: 50%;
    animation-delay: 10s;
}
@keyframes norex-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.1); }
    66% { transform: translate(-40px, 60px) scale(0.95); }
}
.norex-grid-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(50, 130, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 130, 184, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}
.norex-particles {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.norex-particle {
    position: absolute;
    top: -10px;
    width: 3px; height: 3px;
    background: rgba(187, 225, 250, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(187, 225, 250, 0.8);
    animation: norex-rain linear infinite;
}
@keyframes norex-rain {
    0% { transform: translateY(-10vh); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(110vh); opacity: 0; }
}

/* ============================================ LOGIN PAGE ============================================ */
.norex-login-page .norex-login-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
}
.norex-login-card {
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nx-border);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 460px;
    width: 100%;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(50, 130, 184, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    animation: norex-card-enter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes norex-card-enter {
    from { opacity: 0; transform: translateY(40px) rotateX(15deg); }
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}
.norex-login-brand {
    text-align: center;
    margin-bottom: 36px;
}
.norex-brand-shield {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 10px 30px rgba(50, 130, 184, 0.5));
    animation: norex-shield-pulse 3s ease-in-out infinite;
}
.norex-brand-shield svg { width: 100%; height: 100%; }
@keyframes norex-shield-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 10px 30px rgba(50,130,184,0.5)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 15px 40px rgba(50,130,184,0.8)); }
}
.norex-brand-shield-sm { width: 44px; height: 44px; margin: 0; animation: none; }
.norex-login-brand h1 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 4px;
    margin: 0 0 6px;
    background: linear-gradient(135deg, #fff, var(--nx-primary-lighter));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
}
.norex-login-brand p {
    color: var(--nx-text-muted);
    margin: 0;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.norex-login-footer {
    margin-top: 28px;
    text-align: center;
    font-size: 12px;
    color: var(--nx-text-muted);
}

/* ============================================ DEALER PANEL ============================================ */
.norex-panel-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}
.norex-panel-header {
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.norex-panel-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.norex-panel-logo {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #fff;
}
.norex-panel-dealer-name {
    font-size: 12px;
    color: var(--nx-text-muted);
    margin-top: 2px;
}
.norex-panel-user {
    display: flex;
    align-items: center;
    gap: 14px;
}
.norex-user-info { text-align: right; }
.norex-user-code {
    font-family: monospace;
    font-size: 12px;
    color: var(--nx-primary-lighter);
    background: rgba(50, 130, 184, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}
.norex-user-name {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-top: 4px;
}
.norex-logout-btn {
    width: 40px; height: 40px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fca5a5;
    text-decoration: none;
    transition: all 0.2s;
}
.norex-logout-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #fff;
}
.norex-logout-btn svg { width: 18px; height: 18px; }

/* Panel nav */
.norex-panel-nav {
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    padding: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
}
.norex-panel-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--nx-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}
.norex-panel-nav-item:hover {
    color: #fff;
    background: rgba(50, 130, 184, 0.15);
}
.norex-panel-nav-item.active {
    background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-light));
    color: #fff;
    box-shadow: 0 4px 20px rgba(50, 130, 184, 0.4);
}
.norex-nav-icon { font-size: 16px; }

/* Panel content */
.norex-panel-content { min-height: 400px; }
.norex-page-title {
    font-size: 24px;
    color: #fff;
    margin: 0 0 8px;
    font-weight: 700;
}
.norex-page-sub { color: var(--nx-text-muted); margin: 0 0 24px; font-size: 14px; }

/* ============================================ FE CARDS (dark glass) ============================================ */
.norex-fe-card {
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}
.norex-fe-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(50, 130, 184, 0.2);
}
.norex-fe-card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--nx-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, rgba(50, 130, 184, 0.05), transparent);
}
.norex-fe-card-header h3 {
    margin: 0;
    font-size: 15px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.norex-fe-card-body { padding: 24px; }
.norex-fe-no-padding { padding: 0; }

/* FE Row */
.norex-fe-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.norex-fe-col-4 { grid-column: span 4; }
.norex-fe-col-6 { grid-column: span 6; }
.norex-fe-col-8 { grid-column: span 8; }
.norex-fe-col-12 { grid-column: span 12; }
@media (max-width: 960px) {
    .norex-fe-col-4, .norex-fe-col-6, .norex-fe-col-8 { grid-column: span 12; }
}

/* ============================================ FE STATS ============================================ */
.norex-fe-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.norex-fe-stat {
    position: relative;
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    padding: 22px;
    overflow: hidden;
    transition: transform 0.3s;
}
.norex-fe-stat:hover { transform: translateY(-4px); }
.norex-fe-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--nx-primary-light);
}
.norex-fe-stat-blue::before { background: linear-gradient(90deg, #3282b8, #0f4c75); }
.norex-fe-stat-green::before { background: linear-gradient(90deg, #10b981, #059669); }
.norex-fe-stat-purple::before { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.norex-fe-stat-orange::before { background: linear-gradient(90deg, #fbbf24, #d97706); }

.norex-fe-stat-icon {
    width: 42px; height: 42px;
    background: rgba(50, 130, 184, 0.15);
    color: var(--nx-primary-lighter);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.norex-fe-stat-icon svg { width: 22px; height: 22px; }
.norex-fe-stat-label {
    font-size: 11px;
    color: var(--nx-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.norex-fe-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-top: 6px;
    letter-spacing: -0.5px;
}
.norex-fe-stat-sub { color: var(--nx-text-muted); font-size: 12px; margin-top: 4px; }

/* ============================================ FE FORMS ============================================ */
.norex-fe-form .norex-fe-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.norex-fe-group { margin-bottom: 18px; }
.norex-fe-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.3px;
}
.norex-fe-group input[type="text"],
.norex-fe-group input[type="email"],
.norex-fe-group input[type="password"],
.norex-fe-group input[type="tel"],
.norex-fe-group input[type="number"],
.norex-fe-group input[type="date"],
.norex-fe-group input[type="search"],
.norex-fe-group input[type="file"],
.norex-fe-group select,
.norex-fe-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--nx-border);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}
.norex-fe-group input:focus,
.norex-fe-group select:focus,
.norex-fe-group textarea:focus {
    outline: none;
    border-color: var(--nx-primary-light);
    box-shadow: 0 0 0 3px rgba(50, 130, 184, 0.2);
    background: rgba(15, 23, 42, 0.8);
}
.norex-fe-group input::placeholder,
.norex-fe-group textarea::placeholder { color: var(--nx-text-muted); }
.norex-fe-group select option { background: var(--nx-dark); color: #fff; }
.norex-fe-group small {
    display: block;
    margin-top: 5px;
    color: var(--nx-text-muted);
    font-size: 12px;
}
.norex-fe-input-wrap {
    position: relative;
}
.norex-fe-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    color: var(--nx-text-muted);
    pointer-events: none;
}
.norex-fe-input-wrap input { padding-left: 42px !important; }

.norex-fe-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--nx-text-muted);
    font-size: 13px;
}
.norex-fe-checkbox input[type="checkbox"] {
    width: 18px; height: 18px;
    cursor: pointer;
    accent-color: var(--nx-primary-light);
}
.norex-fe-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--nx-border);
}

/* ============================================ FE BUTTONS ============================================ */
.norex-fe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    background: rgba(50, 130, 184, 0.15);
    border: 1px solid rgba(50, 130, 184, 0.3);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.norex-fe-btn:hover {
    background: rgba(50, 130, 184, 0.25);
    color: #fff;
    transform: translateY(-1px);
}
.norex-fe-btn svg { width: 18px; height: 18px; }
.norex-fe-btn-primary {
    background: linear-gradient(135deg, var(--nx-primary) 0%, var(--nx-primary-light) 100%);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(50, 130, 184, 0.4);
    color: #fff;
}
.norex-fe-btn-primary:hover {
    box-shadow: 0 8px 30px rgba(50, 130, 184, 0.6);
    transform: translateY(-2px);
}
.norex-fe-btn-outline {
    background: transparent;
    border-color: var(--nx-primary-light);
}
.norex-fe-btn-outline:hover { background: rgba(50, 130, 184, 0.15); }
.norex-fe-btn-lg { padding: 16px 32px; font-size: 15px; }
.norex-fe-btn-small {
    padding: 6px 12px;
    font-size: 12px;
    background: rgba(50, 130, 184, 0.12);
    border: 1px solid rgba(50, 130, 184, 0.25);
    color: var(--nx-primary-lighter);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}
.norex-fe-btn-small:hover {
    background: rgba(50, 130, 184, 0.25);
    color: #fff;
}

.norex-fe-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--nx-border);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 10px;
    transition: all 0.2s;
}
.norex-fe-action-card:hover {
    background: rgba(50, 130, 184, 0.15);
    border-color: var(--nx-primary-light);
    color: #fff;
    transform: translateX(4px);
}
.norex-fe-action-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(50, 130, 184, 0.3);
}
.norex-fe-action-title { font-weight: 700; font-size: 14px; }
.norex-fe-action-desc { font-size: 12px; color: var(--nx-text-muted); margin-top: 2px; }

/* ============================================ NOTICES ============================================ */
.norex-fe-notice {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.norex-fe-notice-success { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); color: #86efac; }
.norex-fe-notice-error { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.norex-fe-notice-warning { background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.3); color: #fcd34d; }

.norex-fe-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--nx-text-muted);
    font-size: 14px;
}
.norex-fe-link { color: var(--nx-primary-lighter); text-decoration: none; font-size: 13px; }
.norex-fe-link:hover { color: #fff; }

/* ============================================ FE TABLES ============================================ */
.norex-fe-table-wrap { overflow-x: auto; }
.norex-fe-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.norex-fe-table thead th {
    background: rgba(15, 23, 42, 0.6);
    padding: 14px 18px;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--nx-text-muted);
    font-weight: 700;
    border-bottom: 1px solid var(--nx-border);
}
.norex-fe-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--nx-border);
    color: var(--nx-text);
}
.norex-fe-table tbody tr { transition: background 0.15s; }
.norex-fe-table tbody tr:hover { background: rgba(50, 130, 184, 0.08); }
.norex-fe-table code,
.norex-fe-table strong { color: #fff; }
.norex-fe-table code {
    background: rgba(50, 130, 184, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 0.5px;
}
.norex-fe-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.norex-fe-search input { flex: 1; }

/* ============================================ FE DETAIL GRID ============================================ */
.norex-fe-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.norex-fe-detail-item {
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--nx-border);
    border-radius: 10px;
}
.norex-fe-detail-item span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nx-text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.norex-fe-detail-item strong {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* ============================================ INNER TABS ============================================ */
.norex-fe-tabs-inner {
    display: flex;
    gap: 6px;
    background: var(--nx-glass);
    padding: 6px;
    border-radius: 10px;
    border: 1px solid var(--nx-border);
    margin-bottom: 16px;
    width: fit-content;
}
.norex-fe-tab-inner {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: var(--nx-text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    font-family: inherit;
}
.norex-fe-tab-inner:hover { color: #fff; }
.norex-fe-tab-inner.active {
    background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-light));
    color: #fff;
    box-shadow: 0 4px 12px rgba(50, 130, 184, 0.3);
}
.norex-fe-inner-content { display: none; }
.norex-fe-inner-content.active { display: block; }

/* ============================================ CARDS GRID (bayi kart paneli) ============================================ */
.norex-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.norex-card-tile {
    position: relative;
    aspect-ratio: 1.586;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(50, 130, 184, 0.3);
    transition: transform 0.3s;
    cursor: default;
}
.norex-card-tile:hover { transform: translateY(-4px) scale(1.02); }
.norex-card-tile-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, #0f4c75 0%, #1a2332 50%, #0f172a 100%);
}
.norex-card-tile-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(50, 130, 184, 0.4), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(187, 225, 250, 0.2), transparent 40%);
}
.norex-card-tile-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
    background-size: 20px 20px;
}
.norex-card-tile-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}
.norex-card-tile-label {
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}
.norex-card-tile-number {
    font-size: 22px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.norex-card-tile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}
.norex-card-tile-brand {
    font-weight: 900;
    letter-spacing: 2px;
}
.norex-card-tile-status {
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.25);
    color: #86efac;
    border-radius: 20px;
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 1.5px;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

/* ============================================ COVERAGE SELECTOR ============================================ */
.norex-coverage-selector {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--nx-border);
    border-radius: 12px;
    padding: 16px;
}
.norex-coverage-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--nx-border);
}
.norex-coverage-count {
    margin-left: auto;
    color: var(--nx-primary-lighter);
    font-weight: 700;
    font-size: 13px;
}
.norex-coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}
.norex-coverage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    color: var(--nx-text);
    font-size: 13px;
}
.norex-coverage-item:hover {
    background: rgba(50, 130, 184, 0.1);
    border-color: rgba(50, 130, 184, 0.3);
}
.norex-coverage-item input { display: none; }
.norex-coverage-check-mark {
    width: 18px; height: 18px;
    border: 2px solid var(--nx-text-muted);
    border-radius: 5px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}
.norex-coverage-item input:checked ~ .norex-coverage-check-mark {
    background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-light));
    border-color: var(--nx-primary-light);
}
.norex-coverage-item input:checked ~ .norex-coverage-check-mark::after {
    content: '✓';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.norex-coverage-item input:checked ~ .norex-coverage-label { color: #fff; font-weight: 600; }

/* ============================================ CARD INPUT VERIFY ============================================ */
.norex-card-input-wrap {
    position: relative;
}
.norex-card-input-wrap input {
    font-family: 'Courier New', monospace;
    font-size: 18px !important;
    letter-spacing: 3px !important;
    font-weight: 700;
}
.norex-card-verify-status {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
}
.norex-card-verify-status.valid { color: #86efac; }
.norex-card-verify-status.invalid { color: #fca5a5; }
.norex-card-verify-status.checking { color: #fcd34d; }

/* ============================================ PHOTO UPLOAD ============================================ */
.norex-upload-area {
    position: relative;
    border: 2px dashed var(--nx-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(15, 23, 42, 0.3);
    overflow: hidden;
}
.norex-upload-area:hover {
    border-color: var(--nx-primary-light);
    background: rgba(50, 130, 184, 0.08);
}
.norex-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    padding: 0 !important;
}
.norex-upload-icon { font-size: 32px; margin-bottom: 8px; }
.norex-upload-prompt { pointer-events: none; }
.norex-upload-prompt div { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.norex-upload-prompt small { color: var(--nx-text-muted); font-size: 11px; }
.norex-upload-preview {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.norex-upload-preview img {
    width: 60px; height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--nx-primary-light);
}

/* ============================================ CUSTOMER CHECK PAGE ============================================ */
.norex-check-page .norex-check-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}
.norex-check-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    animation: norex-fade-up 0.8s ease-out;
}
@keyframes norex-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.norex-hero-shield {
    width: 130px; height: 130px;
    margin: 0 auto 28px;
    filter: drop-shadow(0 15px 50px rgba(50, 130, 184, 0.6));
    animation: norex-hero-float 4s ease-in-out infinite;
}
.norex-hero-shield svg { width: 100%; height: 100%; }
@keyframes norex-hero-float {
    0%, 100% { transform: translateY(0) rotateY(0); }
    50% { transform: translateY(-12px) rotateY(10deg); }
}
.norex-hero-title {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: 6px;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #fff 0%, var(--nx-primary-lighter) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    text-shadow: 0 0 40px rgba(50, 130, 184, 0.5);
}
.norex-hero-subtitle {
    font-size: 20px;
    color: var(--nx-primary-lighter);
    margin: 0 0 12px;
    font-weight: 600;
    letter-spacing: 1px;
}
.norex-hero-desc {
    color: var(--nx-text-muted);
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search card */
.norex-check-search-card {
    position: relative;
    margin-bottom: 40px;
    animation: norex-fade-up 0.8s ease-out 0.2s both;
}
.norex-check-search-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--nx-primary-light), transparent, var(--nx-primary));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
}
.norex-check-search-inner {
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nx-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.norex-search-type-toggle {
    display: flex;
    gap: 4px;
    background: rgba(15, 23, 42, 0.6);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--nx-border);
}
.norex-toggle-option {
    flex: 1;
    display: block;
    cursor: pointer;
    position: relative;
}
.norex-toggle-option input { display: none; }
.norex-toggle-option span {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--nx-text-muted);
    border-radius: 8px;
    transition: all 0.3s;
}
.norex-toggle-option input:checked + span {
    background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-light));
    color: #fff;
    box-shadow: 0 4px 16px rgba(50, 130, 184, 0.4);
}
.norex-check-input-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.norex-check-input-wrap input {
    flex: 1;
    padding: 18px 22px !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid var(--nx-border) !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    color: #fff !important;
    font-family: 'Courier New', monospace !important;
    letter-spacing: 2px !important;
    font-weight: 600;
    transition: all 0.2s;
}
.norex-check-input-wrap input:focus {
    border-color: var(--nx-primary-light) !important;
    box-shadow: 0 0 0 4px rgba(50, 130, 184, 0.2);
}
.norex-check-submit {
    padding: 0 28px;
    background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-light));
    border: none;
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(50, 130, 184, 0.4);
    transition: all 0.2s;
    font-family: inherit;
}
.norex-check-submit:hover {
    box-shadow: 0 8px 30px rgba(50, 130, 184, 0.6);
    transform: translateY(-2px);
}
.norex-check-submit svg { width: 18px; height: 18px; }
.norex-search-help {
    text-align: center;
    color: var(--nx-text-muted);
    font-size: 13px;
}

.norex-check-notice { max-width: 700px; margin-left: auto; margin-right: auto; }
.norex-check-notfound {
    text-align: center;
    padding: 40px;
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
    color: #fca5a5;
}
.norex-notfound-icon { font-size: 48px; margin-bottom: 12px; }
.norex-check-notfound h3 { color: #fff; margin: 0 0 8px; font-size: 22px; }

/* ============================================ WARRANTY 3D CARD ============================================ */
.norex-warranty-result { animation: norex-fade-up 0.6s ease-out; }

.norex-warranty-card-3d {
    position: relative;
    max-width: 540px;
    margin: 0 auto 28px;
    aspect-ratio: 1.586;
    border-radius: 20px;
    padding: 28px;
    background:
        linear-gradient(135deg, #0f4c75 0%, #1a2332 50%, #0f172a 100%);
    color: #fff;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(50, 130, 184, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    animation: norex-card-3d-enter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@keyframes norex-card-3d-enter {
    from { opacity: 0; transform: translateY(40px) rotateX(20deg) scale(0.9); }
    to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); }
}
.norex-warranty-card-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(50, 130, 184, 0.5), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(187, 225, 250, 0.2), transparent 50%);
    pointer-events: none;
}
.norex-warranty-card-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
    background-size: 16px 16px;
    pointer-events: none;
}
.norex-wcard-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: norex-shine 3s infinite;
    pointer-events: none;
}
@keyframes norex-shine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}
.norex-wcard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.norex-wcard-logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3px;
}
.norex-wcard-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}
.norex-wcard-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.norex-wcard-status.active {
    background: rgba(16, 185, 129, 0.25);
    color: #86efac;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.norex-wcard-status.expired {
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.norex-wcard-dot {
    width: 6px; height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: norex-pulse 2s infinite;
}
@keyframes norex-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.norex-wcard-number {
    position: relative;
    z-index: 1;
}
.norex-wcard-number-label {
    font-size: 9px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
    font-weight: 600;
}
.norex-wcard-number-value {
    font-family: 'Courier New', monospace;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.norex-wcard-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    position: relative;
    z-index: 1;
}
.norex-wcard-footer-label {
    font-size: 9px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 3px;
    font-weight: 600;
}
.norex-wcard-footer-value {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.norex-wcard-qr {
    background: #fff;
    padding: 4px;
    border-radius: 6px;
    flex-shrink: 0;
}
.norex-wcard-qr img {
    width: 60px; height: 60px;
    display: block;
}

/* Warranty status bar */
.norex-wstatus-bar {
    max-width: 540px;
    margin: 0 auto 28px;
}
.norex-wstatus-active,
.norex-wstatus-expired {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 14px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid;
}
.norex-wstatus-active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}
.norex-wstatus-expired {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}
.norex-wstatus-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    flex-shrink: 0;
}
.norex-wstatus-active .norex-wstatus-icon { background: #10b981; color: #fff; }
.norex-wstatus-expired .norex-wstatus-icon { background: #ef4444; color: #fff; }
.norex-wstatus-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.norex-wstatus-remaining {
    font-size: 13px;
    color: var(--nx-text-muted);
}

/* Detail cards */
.norex-wdetails-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.norex-wdetail-card {
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nx-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}
.norex-wdetail-card:hover {
    border-color: rgba(50, 130, 184, 0.3);
    transform: translateY(-2px);
}
.norex-wdetail-full { grid-column: 1 / -1; }
.norex-wdetail-header {
    padding: 14px 20px;
    background: rgba(50, 130, 184, 0.1);
    border-bottom: 1px solid var(--nx-border);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}
.norex-wdetail-body { padding: 16px 20px; }
.norex-wdetail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 13px;
}
.norex-wdetail-row:last-child { border-bottom: none; }
.norex-wdetail-row span { color: var(--nx-text-muted); }
.norex-wdetail-row strong { color: #fff; font-weight: 600; }

.norex-coverage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.norex-coverage-tag {
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #86efac;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Photos section */
.norex-wphotos-section {
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
}
.norex-wphotos-section h3 { margin: 0 0 16px; color: #fff; font-size: 16px; }
.norex-wphotos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.norex-wphotos-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--nx-text-muted);
    margin-bottom: 10px;
    padding: 4px 10px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 4px;
    display: inline-block;
}
.norex-wphotos-label-after {
    background: rgba(16, 185, 129, 0.15);
    color: #86efac;
}
.norex-wphotos-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}
.norex-wphotos-items a {
    display: block;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--nx-border);
    transition: all 0.2s;
}
.norex-wphotos-items a:hover {
    transform: scale(1.05);
    border-color: var(--nx-primary-light);
}
.norex-wphotos-items img {
    width: 100%; height: 100%; object-fit: cover;
}

.norex-fe-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.norex-fe-photos a {
    display: block;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--nx-border);
    transition: all 0.2s;
}
.norex-fe-photos a:hover { transform: scale(1.05); border-color: var(--nx-primary-light); }
.norex-fe-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }

.norex-wactions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================ MODAL ============================================ */
.norex-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.norex-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.norex-modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--nx-dark-2);
    border: 1px solid var(--nx-border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: norex-modal-enter 0.3s ease-out;
}
@keyframes norex-modal-enter {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.norex-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--nx-border);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-family: inherit;
}
.norex-modal-close:hover { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.4); }
.norex-modal-content h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 22px;
}
.norex-modal-content p {
    color: var(--nx-text-muted);
    margin: 0 0 24px;
    font-size: 14px;
}
body.norex-modal-open { overflow: hidden; }

.norex-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.norex-status-active, .norex-status-resolved, .norex-status-assigned { background: rgba(16, 185, 129, 0.15); color: #86efac; }
.norex-status-pending, .norex-status-reviewing { background: rgba(245, 158, 11, 0.15); color: #fcd34d; }
.norex-status-rejected, .norex-status-inactive { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.norex-status-closed, .norex-status-used { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }
.norex-status-available { background: rgba(50, 130, 184, 0.15); color: var(--nx-primary-lighter); }

/* ============================================ RESPONSIVE ============================================ */
@media (max-width: 768px) {
    .norex-frontend { padding: 20px 12px; }
    .norex-hero-title { font-size: 36px; letter-spacing: 3px; }
    .norex-hero-subtitle { font-size: 16px; }
    .norex-check-input-wrap { flex-direction: column; }
    .norex-check-submit { width: 100%; justify-content: center; padding: 16px; }
    .norex-warranty-card-3d { padding: 20px; }
    .norex-wcard-number-value { font-size: 18px; letter-spacing: 1px; }
    .norex-wdetails-grid { grid-template-columns: 1fr; }
    .norex-wdetail-full { grid-column: 1; }
    .norex-wphotos-grid { grid-template-columns: 1fr; }
    .norex-login-card { padding: 32px 24px; }
    .norex-panel-header { flex-direction: column; gap: 14px; text-align: center; }
    .norex-panel-user { justify-content: center; }
    .norex-fe-form .norex-fe-row { grid-template-columns: 1fr; }
    .norex-form-actions, .norex-fe-form-actions { flex-direction: column; }
    .norex-form-actions button, .norex-fe-form-actions button { width: 100%; }
}

/* ============================================================================
   LANGUAGE SWITCHER
   ============================================================================ */
.norex-lang-switcher-wrap {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}
.norex-lang-switcher-login {
    position: fixed;
    top: 20px;
    right: 20px;
}
.norex-lang-switcher {
    position: relative;
    display: inline-block;
}
.norex-lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nx-border);
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
    user-select: none;
}
.norex-lang-current:hover {
    background: rgba(50, 130, 184, 0.2);
    border-color: rgba(50, 130, 184, 0.4);
}
.norex-lang-flag {
    font-size: 16px;
    line-height: 1;
}
.norex-lang-code {
    letter-spacing: 1px;
}
.norex-lang-arrow {
    opacity: 0.7;
    transition: transform 0.2s;
}
.norex-lang-switcher:hover .norex-lang-arrow {
    transform: rotate(180deg);
}
.norex-lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    list-style: none;
    padding: 6px;
    margin: 0;
    min-width: 160px;
    background: var(--nx-dark-2);
    border: 1px solid var(--nx-border);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s;
    z-index: 100;
}
.norex-lang-switcher:hover .norex-lang-dropdown,
.norex-lang-switcher:focus-within .norex-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.norex-lang-dropdown li { margin: 0; padding: 0; }
.norex-lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--nx-text);
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
}
.norex-lang-dropdown li a:hover {
    background: rgba(50, 130, 184, 0.15);
    color: #fff;
}

/* Polylang list — inherit some */
.norex-lang-polylang ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
    background: var(--nx-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--nx-border);
    border-radius: 10px;
    padding: 6px;
}
.norex-lang-polylang ul li a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    color: var(--nx-text-muted);
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.15s;
}
.norex-lang-polylang ul li a:hover,
.norex-lang-polylang ul li.current-lang a {
    background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-light));
    color: #fff;
}

@media (max-width: 768px) {
    .norex-lang-switcher-wrap {
        top: 10px;
        right: 10px;
    }
    .norex-lang-current {
        padding: 6px 10px;
        font-size: 12px;
    }
}
