@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --brand-bg: #f8fafc;
  --brand-text: #1e293b;
  --brand-border: #e2e8f0;
  --brand-muted: #64748b;
  --accent: #3b82f6;
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --white: #ffffff;
  --black: #000000;
  --white-rgb: 255 255 255;
  --black-rgb: 0 0 0;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-700: #3b82f6;
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-500: #3b82f6;
  --indigo-800: #3b82f6;
  --emerald-50: #ecfdf5;
  --emerald-200: #d1fae5;
  --emerald-300: #a7f3d0;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --green-500: #22c55e;
  --yellow-500: #f59e0b;
  --orange-400: #fb923c;
  --accent-rgb: 59 130 246;
  --teal-rgb: 78 205 196;
}

body {
    background: radial-gradient(circle at 15% 50%, rgb(var(--teal-rgb) / 0.08) 0%, transparent 25%),
                radial-gradient(circle at 85% 30%, rgb(var(--accent-rgb) / 0.08) 0%, transparent 25%),
                var(--brand-bg);
    min-height: 100vh;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--brand-text);
    line-height: 1.5;
}
.no-bg{
    background: none;
}
.login-card { max-width: 560px; width: 100%; margin: 0 auto; }
.otp-group { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; width: 100%; }

@media (max-width: 480px){
  .login-card { padding: 20px; border-radius: 24px; }
  .digit-box { max-width: 36px; height: 48px; font-size: 18px; }
  .otp-group { gap: 6px; }
  .btn-primary { height: 50px; font-size: 15px; }
}

@media (max-width: 360px){
  .digit-box { max-width: 30px; height: 44px; font-size: 16px; }
  .otp-group { gap: 3px; }
}

@media (min-width: 768px){
  .login-card { max-width: 600px; }
}

@media (min-width: 1024px){
  .login-card { max-width: 680px; }
}

.text-center { font-size: 24px; font-weight: 700; color: var(--brand-text); text-align: center; }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Enhanced Glass Card - Cleaner look */
.glass-card { background: none; border: none; box-shadow: none; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

.stepper { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.step { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--brand-border); border-radius: 12px; background: var(--white); color: var(--slate-700); }
.step-index { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--indigo-50); color: var(--indigo-800); font-weight: 700; font-size: 13px; }
.step-label { font-size: 13px; font-weight: 600; color: var(--slate-700); }
.step.active { border-color: var(--indigo-500); background: var(--indigo-50); }
.step.active .step-index { background: var(--indigo-500); color: var(--white); }

/* Select Input */
.select-glass {
    min-width: 180px;
    height: auto;
    border-radius: 12px;
    background: var(--slate-100);
    padding: 0 16px;
    outline: none;
    transition: all 0.2s ease;
    color: var(--slate-700);
    font-family: inherit;
    font-size: 14px;
}

.select-glass:hover { border-color: var(--slate-300); box-shadow: 0 2px 4px rgb(var(--black-rgb) / 0.02); }

.select-glass:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.1); }

/* Date Input */
.date-input {
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--brand-border);
    background: var(--white);
    padding: 0 16px;
    outline: none;
    transition: all 0.2s ease;
    color: var(--slate-700);
    font-family: inherit;
    font-size: 14px;
}

.date-input:hover { border-color: var(--slate-300); box-shadow: 0 2px 4px rgb(var(--black-rgb) / 0.02); }

.date-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.1); }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.stat-card {

    border: 1px solid var(--white);
    box-shadow: 0 1px 3px rgb(var(--black-rgb) / 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Left align default */
    gap: 8px;
    transition: all 0.3s ease;
}
.stat-card.center { align-items: center; text-align: center; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgb(var(--black-rgb) / 0.05); }

.stat-icon {
    font-size: 28px;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.stat-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-muted);
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.placeholder-area {
    background: rgb(var(--white-rgb) / 0.5);
    border: 2px dashed var(--slate-300);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: var(--brand-muted);
    font-weight: 500;
}

.white-space {
    height: 240px;
    background: rgb(var(--white-rgb) / 0.4);
    border: 1px solid rgb(var(--white-rgb) / 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

/* Digit Box (OTP) */
.digit-box {
    width: 100%;
    min-width: 0;
    max-width: 52px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid var(--brand-border);
    background: var(--white);
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--brand-text);
    outline: none;
    transition: all 0.2s ease;
}

    .digit-box:hover { border-color: var(--slate-300);
    transform: translateY(-2px);
}

    .digit-box:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.1);
    transform: translateY(-2px);
}

/* Password Input */
.password-input {
    width: 100%;
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--brand-border);
    background: var(--white);
    outline: none;
    padding: 0 65px 0 20px;
    font-size: 16px;
    color: var(--brand-text);
    transition: all 0.2s ease;
}

.password-input:hover { border-color: var(--slate-300); }

.password-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.1); }

.eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: transparent;
    color: var(--brand-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.eye-btn:hover { background: var(--slate-100); color: var(--brand-text); }

/* Primary Button */
.btn-primary {
    height: auto;
    border-radius: 16px;
    border: none;
    background: var(--primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 6px -1px rgb(var(--black-rgb) / 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
}

.btn-primary:hover { transform: translateY(-2px); background: var(--primary-hover); box-shadow: 0 10px 15px -3px rgb(var(--black-rgb) / 0.1); }

.btn-primary:active {
    transform: translateY(0);
}
.btn-cta {
    height: 56px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 18px -6px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -6px rgb(var(--black-rgb) / 0.3); filter: brightness(1.05); }
.btn-cta:active { transform: translateY(0); }

.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px;
    border-radius: 18px;
    color: var(--primary);
    background: var(--brand-bg);
    border: 1px solid var(--brand-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.info-card:hover { transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgb(var(--black-rgb) / 0.06); }
.info-icon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgb(var(--white-rgb) / 0.9); }
.info-label { font-size: 12px; color: var(--brand-muted); font-weight: 600; }
.info-value { font-size: 18px; font-weight: 700; color: var(--brand-text); }
.info-blue { background: linear-gradient(135deg, var(--blue-100) 0%, var(--blue-50) 100%); border-color: var(--blue-200); }
.info-emerald { background: linear-gradient(135deg, var(--emerald-200) 0%, var(--emerald-50) 100%); border-color: var(--emerald-300); }
.info-amber { background: linear-gradient(135deg, var(--amber-100) 0%, var(--amber-50) 100%); border-color: var(--amber-200); }

.btn-secondary {
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--brand-border);
    background: var(--white);
    color: var(--brand-text);
    font-size: 14px;
    font-weight: 600;
    padding: 0 14px;
    transition: all 0.2s ease;
}
.btn-secondary:hover { background: var(--slate-100); }

.btn-danger {
    height: 44px;
    border-radius: 12px;
    border: none;
    background: var(--red-500);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 0 14px;
    transition: all 0.2s ease;
}
.btn-danger:hover { background: var(--red-600); }

.btn-chip {
    height: auto;
    border-radius: 9999px;
    border: 1px solid var(--brand-border);
    background: var(--slate-100);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 0 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-chip:active {
    transform: translateY(0);
}
.btn-chip.active { border-color: var(--accent); background: var(--blue-50); }
.bg-tow{
background: var(--slate-100);
}

.search-group {
    display: flex;
    align-items: center;
}
.search-input {
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--brand-border);
    background: var(--white);
    padding: 0 12px;
    outline: none;
    transition: all 0.2s ease;
    color: var(--slate-700);
    font-family: inherit;
    font-size: 14px;
}
.search-input:hover { border-color: var(--slate-300); }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.1); }

.icon-btn {
    width: 40px;
    height: 40px;
    margin-left: 8px;
    border-radius: 12px;
    border: 1px solid var(--brand-border);
    background: var(--white);
    color: var(--slate-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.icon-btn:hover { background: var(--slate-100); }
.icon-btn:active { transform: translateY(0); }

.date-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 12px;
    border: none;
    border-radius: 16px;
    background: var(--brand-bg);
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}
.date-sep {
    color: var(--brand-muted);
    font-weight: 500;
}

input[type="text"]:not(.digit-box):not(.search-input):not(.password-input),
input[type="number"],
input[type="email"],
input[type="date"],
textarea,
select {
    border-radius: 12px;
    border: none;
    background: var(--slate-100);
    padding: 0 12px;
    outline: none;
    transition: all 0.2s ease;
    color: var(--slate-700);
    font-family: inherit;
    font-size: 14px;
}
input[type="text"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="date"]:hover,
textarea:hover,
select:hover { border-color: var(--slate-300); }
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.1); }

.input { height: 48px; border-radius: 12px; border: 1px solid var(--brand-border); background: var(--white); padding: 0 12px; outline: none; transition: all 0.2s ease; color: var(--slate-700); font-size: 14px; }
.input:hover { border-color: var(--slate-300); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.1); }

/* Animations */
.fade-in-up { animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fade-out-up { animation: fadeOutUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.shake { animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }

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

@keyframes fadeOutUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Chart */
.chart-card { overflow: hidden; }
.chart-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 13px; color: var(--brand-muted); font-weight: 500; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-blue { background: var(--blue-500); }
.dot-red { background: var(--red-500); }
.dot-yellow { background: var(--yellow-500); }
.dot-orange { background: var(--orange-400); }
.dot-green { background: var(--green-500); }

/* Line legend markers for multi-series charts */
.legend-line { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.line-blue { background: var(--blue-500); }
.line-red { background: var(--red-500); }
.line-yellow { background: var(--yellow-500); }

.chart-wrapper {
    position: relative;
    height: 300px;
    border-radius: 20px;
    background: rgb(var(--white-rgb) / 0.5);
    border: none;
    margin-bottom: 16px;
    padding: 16px;
}

.chart-wrapper::before {
    content: "";
    position: absolute;
    inset: 16px 16px 40px 60px;
    background: linear-gradient(to bottom, var(--slate-100) 1px, transparent 1px);
    background-size: 100% 20%;
    pointer-events: none;
}

.chart-y-labels {
    position: absolute;
    left: 16px;
    top: 16px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 12px;
    color: var(--slate-400);
    font-weight: 500;
}

.chart-bars {
    position: absolute;
    left: 60px;
    right: 16px;
    bottom: 40px;
    top: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    z-index: 3;
}

.bar-group { display: inline-flex; align-items: flex-end; gap: 8px; height: 100%; }
.bar {
    width: 16px;
    height: 0;
    border-radius: 4px 4px 0 0;
    transition: height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.9;
}
.bar:hover { opacity: 1; transform: scaleY(1.05); transform-origin: bottom; }
.bar-blue { background: var(--blue-500); }
.bar-red { background: var(--red-500); }
.bar-yellow { background: var(--yellow-500); }
.bar-green { background: var(--green-500); }
.bar-orange { background: var(--orange-400); }

.chart-x-cats {
    display: flex;
    justify-content: space-around;
    padding-left: 60px;
    font-size: 13px;
    color: var(--brand-muted);
    font-weight: 600;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.status-card {
    background: none;
    border: 1px solid var(--white);
    box-shadow: 0 1px 3px rgb(var(--black-rgb) / 0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    color: var(--slate-700);
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.status-item:last-child { border-bottom: none; }

/* Rotated Labels for Trend Chart */
.chart-x-months {
    display: flex;
    justify-content: space-between;
    padding-left: 60px;
    padding-right: 16px;
    font-size: 12px;
    color: var(--brand-muted);
    font-weight: 500;
}
.month-label {
    transform: rotate(45deg);
    transform-origin: left top;
    margin-top: 8px;
    white-space: nowrap;
}

/* Shared Table Styles */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-head-banner { background: var(--blue-700); color: var(--white); }
.data-head { background: var(--blue-700); color: var(--white); }
.sticky-header { position: sticky; top: 0; z-index: 2; }
.data-th { padding: 8px 12px; border: 1px solid var(--accent); font-weight: 600; text-align: left; }
.data-td { padding: 8px 12px; border: 1px solid #d1d5db; color: var(--slate-700); }
.data-row:nth-child(even) { background: var(--blue-50); }
.data-row:hover { background: var(--slate-50); }
.data-cell-number { text-align: right; }
.data-profit-neg { color: var(--red-500); }
.data-profit-pos { color: var(--green-500); }

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    width: 260px;
    padding: 12px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, width 0.3s ease;
    will-change: transform;
    background: rgb(var(--white-rgb) / 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgb(var(--white-rgb));
}
.with-sidebar { 
    padding-left: 260px; 
    transition: padding-left 0.3s ease;
}
.with-sidebar.sidebar-collapsed {
    padding-left: 80px;
}

.sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; }
.sidebar-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary); white-space: nowrap; overflow: hidden; }
.sidebar-brand .material-symbols-outlined { color: var(--accent); flex-shrink: 0; }
.sidebar-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--brand-border); background: var(--white); color: var(--slate-700); cursor: pointer; }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sidebar-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; white-space: nowrap; overflow: hidden; transition: all 0.2s; }
.sidebar-link:hover { background: var(--slate-100); color: var(--brand-text); }
.sidebar-link .material-symbols-outlined { flex-shrink: 0; }

/* Collapsed State (Desktop) */
.sidebar.collapsed { width: 80px; }
.sidebar.collapsed .sidebar-brand span:last-child { opacity: 0; width: 0; }
.sidebar.collapsed .sidebar-link span:last-child { opacity: 0; width: 0; }
.sidebar.collapsed .sidebar-toggle { transform: rotate(180deg); }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 16px;
    right: 16px; /* Right side for RTL support later if needed, but sticking to LTR for now */
    z-index: 40;
    padding: 8px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgb(var(--black-rgb) / 0.1);
    border: 1px solid var(--brand-border);
    cursor: pointer;
}

/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgb(var(--black-rgb) / 0.5);
    z-index: 45;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active { display: block; opacity: 1; }

/* Mobile Responsive */
@media (max-width: 768px){
  .container { padding-left: 12px; padding-right: 12px; }
  .glass-card { border-radius: 16px; padding: 16px; }
  .stat-card { padding: 16px; }
  .stat-value { font-size: 20px; }
  .stat-title { font-size: 13px; }
  .date-group { flex-direction: column; align-items: stretch; gap: 8px; max-width: 100%; }
  .date-input, .select-glass { width: 100%; }
  .search-group { width: 100%; }
  .search-input { flex: 1; width: 100%; }
  .icon-btn { width: 44px; height: 44px; }
  .placeholder-area { padding: 16px; font-size: 14px; }
  .data-th, .data-td { padding: 6px 8px; }
}

@media (max-width: 480px){
  .stat-icon { font-size: 24px; padding: 8px; }
  .btn-primary { height: 52px; font-size: 15px; }
  .btn-chip { height: 34px; font-size: 12px; padding: 0 10px; }

  .with-sidebar { padding-left: 0 !important; }
  .sidebar { 
      transform: translate3d(-100%, 0, 0); 
      width: 280px;
      box-shadow: 4px 0 24px rgba(0,0,0,0.1);
  }
  .sidebar.mobile-open { transform: translate3d(0, 0, 0); }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; touch-action: manipulation; }
  
  /* Hide desktop toggle on mobile */
  .sidebar-toggle { display: none; }
}

/* Large Screens */
@media (min-width: 1440px) {
    .container { max-width: 1400px; } /* Wider container for large screens */
}
@media (min-width: 1920px) {
    .container { max-width: 1800px; } /* Even wider for very large screens */
}

.border-blue-200 { border-color: var(--accent); }
.bg-blue-700 { background-color: var(--accent); }
.text-blue-700 { color: var(--accent); }

/* Extended mobile behavior up to 768px to cover more phones */
@media (max-width: 768px){
  .with-sidebar { padding-left: 0 !important; }
  .sidebar { transform: translate3d(-100%, 0, 0); width: 280px; }
  .sidebar.mobile-open { transform: translate3d(0, 0, 0); }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; touch-action: manipulation; }
  .sidebar-toggle { display: none; }
}

.id-card {
  border: 1px solid var(--white);
  background: rgb(var(--white-rgb) / 0.9);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgb(var(--black-rgb) / 0.06);
  overflow: hidden;
}
.id-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--blue-50) 100%);
  border-bottom: 1px solid var(--blue-200);
  color: var(--primary);
  font-weight: 700;
}
.id-header .material-symbols-outlined {
  color: var(--accent);
}
.id-body {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px){
  .id-body { grid-template-columns: repeat(3, 1fr); }
}
.id-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  background: rgb(var(--white-rgb) / 0.9);
}
.id-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.id-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-text);
  letter-spacing: 0.3px;
}

.section-card {
  border: 1px solid var(--white);
  background: rgb(var(--white-rgb) / 0.9);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgb(var(--black-rgb) / 0.06);
  overflow: hidden;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--indigo-100) 0%, var(--indigo-50) 100%);
  border-bottom: 1px solid var(--indigo-100);
  color: var(--primary);
  font-weight: 700;
}
.section-header .material-symbols-outlined {
  color: var(--accent);
}
.section-body {
  padding: 18px;
}

.fade-in-scale {
  animation: fadeScale 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.fade-in-up-soft {
  animation: fadeUpSoft 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

@keyframes fadeScale {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeUpSoft {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px -6px rgb(var(--black-rgb) / 0.15);
}

.id-card, .section-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.id-card:hover, .section-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 14px -6px rgb(var(--black-rgb) / 0.12);
}
