﻿@font-face {
    font-family: 'Yekan';
    src: local('Yekan'), local('Yekan VF'), url('/static/fonts/Yekan.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/static/fonts/Inter-latin-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Global Persian typography and rendering */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    line-height: 1.8;
    letter-spacing: 0;
}

form {
    margin: 0;
}

@keyframes fadeUp {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
.animate-fade-up { animation: fadeUp 0.4s ease-out forwards; }

:root {
        --topbar-height: 48px;
        --sidebar-width: 60px;
        --layout-gap-x: 24px;
        --layout-gap-y: 16px;
        --text-main: #334155;
        --danger: #DB324D;
        --background-pill-red: #fbe3e1;
        --color-pill-red: #e34234;
        --background-pill-blue: #EBEBFF;
        --color-pill-blue: #4C52FF;
}

h1 {
    color: #0D0C22;
    font-weight: 700;
    font-size: 1rem;
}

.main-content {
    height: 100vh;
    width: calc(100vw - var(--sidebar-width));
    margin-right: var(--sidebar-width);
    padding: calc( var(--topbar-height) + 24px) var(--layout-gap-x) var(--layout-gap-x);
    min-height: calc(100vh - var(--topbar-height));
    box-sizing: border-box;
    overflow-y: hidden;
    position: fixed;
    transform-origin: top right;
    top: 0;
    right: 0;
}

.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    background-color: #F6F6F6;
    box-sizing: border-box;
}

.top-bar {
    position: fixed;
    top: 0;
    right: var(--sidebar-width);
    left: 0;
    height: var(--topbar-height);
    z-index: 10;
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 0 var(--layout-gap-x);
    align-items: center;
    overflow: visible;
    background-color: white;
    box-sizing: border-box;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}
/* Datepicker Styles */
.datepicker-dropdown {
    z-index: 100 !important;
    width: 100%;
    min-width: 300px;
    border: 1px solid #f8fafc;
    border-radius: 14px;
    background-size: 100% 100%, 100% 100%, 5px 5px;
    padding: 22px 16px;
}

.datepicker-dropdown > div:first-child {
    margin-bottom: 10px;
    padding: 0 2px;
}

.datepicker-dropdown > div:first-child > span {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.datepicker-dropdown > div:first-child button {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1 solid #111827;
    border-radius: 9999px;
    background: #ffffff;
    color: #334155;
    transition: all 0.18s ease;
}

.datepicker-dropdown > div:first-child button svg {
    width: 13px;
    height: 13px;
    display: block;
}

.datepicker-dropdown > div:first-child button:hover {
    background: #e2e8f0;
    color: #94a3b8;
}

.datepicker-dropdown > div:first-child button:active {
    transform: translateY(1px);
}

.datepicker-dropdown > div:nth-child(2) {
    border-bottom: 1 solid #cbd5e1;
    margin-bottom: 10px;
    padding-bottom: 10px;
    color: #94a3b8;
    font-size: 13px;
}

.datepicker-dropdown > div:nth-child(2) > span {
    font-weight: 700;
}

.datepicker-dropdown > div:nth-child(3) {
    gap: 6px !important;
}

.datepicker-dropdown > div:nth-child(3) > button {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    border: 1px solid #f8fafc;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.18s ease;
}

.datepicker-dropdown > div:nth-child(3) > button:hover {
    border-color: #64748b;
    background: #f1f5f9;
    color: #0f172a;
}

.datepicker-dropdown > div:nth-child(3) > button[class*="bg-indigo-50"] {
    border-color: #00008B;
    background: #0000FF;
    color: white;
}

.datepicker-dropdown > div:nth-child(3) > button[class*="bg-indigo-600"] {
    border-color: #334155;
    background: #334155;
    color: #ffffff;
}

.datepicker-dropdown > div:nth-child(3) > button.text-red-400 {
    color: #dc2626;
}
/* Tooltip & Validation */
.validation-tooltip { position: absolute; bottom: 100%; right: 0; background-color: #0D0C22; color: white; padding: 3px 16px; border-radius: 60px; font-size: 12px; font-weight: 500; white-space: nowrap; opacity: 0; transform: translateY(12px); transition: all 0.2s ease; pointer-events: none; z-index: 50; }
.validation-tooltip::after { content: ''; position: absolute; top: 100%; right: 10px; border-width: 4px; border-style: solid; border-color: #0D0C22 transparent transparent transparent; }
.input-error { border-color: #fb7185 !important; }
.input-group:hover .validation-tooltip.show { opacity: 1; transform: translateY(-3px); }
.validation-tooltip.show { opacity: 1; transform: translateY(-3px); }
/* --- Global Autocomplete System --- */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
    z-index: 100 !important;
}

.autocomplete-wrapper:focus-within {
    z-index: 100 !important;
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
    max-height: 240px;
    overflow-y: auto;
    z-index: 360 !important;
    display: none;
    padding: 4px;
    direction: rtl;
    text-align: right;
}

.autocomplete-dropdown.active {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.autocomplete-dropdown::-webkit-scrollbar {
  display: none;
}

.ac-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.1s ease;
    border-bottom: 1px solid #f8fafc;
    min-height: 34px;
    direction: rtl;
    text-align: right;
}

.ac-item:last-child { border-bottom: none; }

.ac-item:hover, .ac-item.focused {
    background-color: #e2e8f0;
}

.ac-symbol { font-weight: 700; font-size: 14px; line-height: 1.8; color: #334155; }
.ac-name { font-size: 12px; line-height: 1.8; color: #cbd5e1; font-weight: 500; word-spacing: -1px; }

.kinko-field-invalid {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.14) !important;
}

.kinko-field-shake {
    animation: kinkoFieldShake 0.24s linear 1;
}

.kinko-field-tooltip {
    position: absolute;
    right: 0;
    bottom: calc(100% + 6px);
    background-color: #ef4444;
    color: #fff;
    border-radius: 7px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    z-index: 700;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.kinko-field-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 10px;
    border-width: 5px;
    border-style: solid;
    border-color: #ef4444 transparent transparent transparent;
}

.kinko-field-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes kinkoFieldShake {
    0% { transform: translateX(0); }
    25% { transform: translateX(3px); }
    50% { transform: translateX(-3px); }
    75% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

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

/* Inputs */
.ghost-input { width: 100%; background: transparent; border: 1px solid transparent; border-radius: 6px; padding: 6px; font-size: 12px; font-weight: 600; color: #334155; text-align: center; transition: all 0.2s ease; }
.ghost-input:focus { background: white; border-color: #5E2BFF; box-shadow: 0 0 0 2px rgba(94, 43, 255, 0.1); outline: none; }
.ghost-input::placeholder { color: #cbd5e1; font-weight: 400; font-size: 11px; }
.symbol-col .ghost-input { text-align: center; font-weight: 800; color: #1e293b; }

/* --- Custom Select Dropdown Styles --- */

.custom-select-container { 
    position: relative; 
    width: 100%; 
}

.select-trigger {
    width: 100%;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 24px;       
    background-color: #ffffff; 
    border: 1px solid #e5e7eb; 
    border-radius: 9999px;   
    font-size: 14px;           
    font-weight: 500;          
    color: #334155;            
    cursor: pointer; 
    outline: none; 
    transition: all 0.2s ease-in-out;
    font-family: inherit;     
}


.select-trigger:focus, 
.custom-select-container:focus-within .select-trigger { 
    background-color: #ffffff; 
    border-color: oklch(92.8% 0.006 264.531);     
}


.select-trigger .selected-text:empty::before {
    content: attr(data-placeholder);
}


.select-options { 
    position: absolute; 
    top: calc(100% + 4px); 
    left: 0; 
    right: 0; 
    background-color: white; 
    border: 1px solid #e5e7eb; 
    border-radius: 0.5rem; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
    overflow-y: auto; 
    max-height: 240px; 
    z-index: 100; 
    display: none; 
}

.select-options.active { 
    display: block; 
    animation: fadeIn 0.1s ease-out;
}

.select-option { 
    padding: 10px 14px; 
    cursor: pointer; 
    font-size: 0.875rem; 
    color: #4b5563; 
    border-bottom: 1px solid #f9fafb; 
    transition: background-color 0.1s; 
}

.select-option:last-child { border-bottom: none; }

.select-option:hover { 
    background-color: #f8fafc; 
    color: #334155; 
}

.select-option.selected { 
    background-color: #f8fafc; 
    color: #334155; 
    font-weight: 700; 
}

/* Scrollbar Tweaks */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #f8fafc; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #f1f5f9; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #e2e8f0; }

/* Custom Checkbox */
.custom-checkbox { width: 16px; height: 16px; border-radius: 4px; border: 2px solid #cbd5e1; cursor: pointer; accent-color: #5E2BFF; }

.dropzone-wrapper {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
    background-color: #f8fafc;
    position: relative;
    cursor: pointer;
}

.dropzone-wrapper:hover {
    border-color: #94a3b8;
    background-color: #f1f5f9;
}

.dropzone-wrapper.drag-over {
    border-color: #5E2BFF;
    background-color: #ece9ff;
    transform: scale(1.01);
}

.dropzone-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.close-modal-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.close-modal-btn:hover {
    background-color: #fecaca;
    transform: rotate(90deg);
}

.modal-backdrop {
    backdrop-filter: blur(8px);
    background-color: rgba(15, 23, 42, 0.6);
}

input[type="checkbox"] {
    
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;  
    height: 1.25rem; 
    border-radius: 9999px;     
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1; 
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
    margin-top: -2px; 
}

input[type="checkbox"]:hover {
    border-color: #0000FF; 
}

input[type="checkbox"]:checked {
    background-color: #0000FF;
    border-color: #0000FF;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='20 6 9 17 4 12'/%3e%3c/svg%3e");
    background-size: 65%;
    background-position: center;
    background-repeat: no-repeat;
}

input[type="checkbox"]:disabled {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.7;
}

/*Custom Buttons*/

.primary-btn {
    background-color: #3758E2;
    color: white;
    border-radius: 9999px;
    padding: 12px 24px;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 0.5rem;
    font-size: 14px;
    line-height: 1.25rem;
    font-weight: 600;
    outline: none;
    box-sizing: border-box;
    max-height: 44px;
}
.primary-btn:hover {
    background-color: #1E40AF;
    transition: all 200ms ease-in-out;
}

.secondary-btn {
    background-color: none;
    color: #7E8285;
    border-radius: 9999px;
    border: 2px solid #D6D7DB;
    padding: 12px 24px ;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 0.5rem;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25rem;
    outline: none;
    box-sizing: border-box;
    height: 44px;
}
.secondary-btn:hover {
    background-color: #F6F6F6;
    transition: all 250ms ease-in-out;
}

.switch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 2px solid #f1f5f9;
    color: #0D0C22;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    gap: 0.5rem;
    height: 44px;
    width: fit-content;
}

.switch-btn:hover {
    background-color: #f1f5f9;
    transition: all 150ms;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 2px solid #f1f5f9;
    border-radius: 9999px;
    height: 42px;
    width: 42px;
}
.back-btn:hover {
    background-color: #f1f5f9;
    transition: all 150ms;
}
.back-btn:hover svg {
    color: #334155;
}

.add-btn {
    background-color: #334155;
    color: #ffffff;
    width: 100%;
    height: 40px;
    line-height: 1;
    border-radius: 60px;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.18s ease;
    cursor: pointer;
}

.add-btn:hover {
    background-color: #1e293b;
}

.portfolio-tab-btn {
    position: relative;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    outline: none;
}
.portfolio-tab-btn .tab-face {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: solid 1px;
    border-radius: 60px;
    border-color: #cbd5e1;
    transition: all 0.2s ease-out;
}

.portfolio-tab-btn:hover .tab-face {
    background: #f1f5f9;
}

.portfolio-tab-btn.active .tab-face {
    border: none;
    background: #f8fafc;
    color: #334155;
    cursor: default;
}

.line-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #94a3b8;
    pointer-events: none;
    position: relative;
    user-select: none;
}

.action-cell {
    color: #334155;
    border-radius: 9999px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}
.action-cell:hover {
    background: #fff5f0;
    transition: all 300ms ease;
}
.action-cell:hover svg {
    color: #0D0C22;
}

.action-cell-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.sub-separator {
    display: inline-block;
    width: 2px;
    height: 16px;
    border-radius: 9999px;
    background: #cbd5e1;
    margin: 0 6px;
    flex: 0 0 auto;
}

.title-separator {
    margin: 0 4px;
    width: 0.6rem;
    height: 0.6rem;
    background-color: #FF5C35;
    border-radius: 9999px;
}

.form-shape {
    width: 0.375rem;
    height: 1rem;
    background-color: #64748b;
    border-radius: 60px;
}

.form-title {
    color: #334155;
    font-size: 16px;
    word-spacing: -2px;
    user-select: none;
    position: relative;
    font-weight: 700;
}

.title-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}

.field-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700 !important;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 8px;
    margin-right: 6px;
}

.search-input {
    width: 100%;
    padding: 12px 44px 12px 16px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    color: #334155;
    outline: none;
    word-spacing: -2px;


}

.grain-backdrop {
    background-color: rgba(148, 163, 184, 0.2);
    background-image:
      radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0) 38%),
      radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0) 30%),
      radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.18) 0, rgba(0, 0, 0, 0) 42%),
      repeating-radial-gradient(circle at 0 0, rgba(17, 24, 39, 0.08) 0 1px, rgba(255, 255, 255, 0) 1px 3px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 5px 5px;
    position: fixed;
    height: 100vh;
    inset: 0px;
}

.linear-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    border: 2px solid #f1f5f9;
    border-radius: 9999px;
    user-select: none;
}

.custom-table-topbar {
    border-bottom: 1px solid #e2e8f0;
    border-top:1px solid #f1f5f9;
    padding: 18px 0;
}

.custom-table {
    border-top: 1px solid #e2e8f0;
    border-collapse: separate;
    border-spacing: 0;
    user-select: none;
    z-index: 10;
}


.custom-table-shell {
    background: #ffffff;
    overflow: hidden;
  }

.custom-table thead th {
    background-color: white;
    border-bottom: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    font-weight: 700;
    font-size: 14px;
    color:#0D0C22;
    letter-spacing: 0;
    padding: 12px;
}
.custom-table thead th:first-child {
    border-left: none;
}

.custom-table thead th:last-child {
    border-left: none;
}
.custom-table tbody td {
    border-bottom: 1px dashed #e2e8f0;
    font-weight: 500;
    padding: 16px;
}
.custom-table .row:last-child td {
    border-bottom: none;
}
.custom-table .row:hover td {
    background: #f8fafc;
}
.custom-table .actions-cell a,
.custom-table .actions-cell button {
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    outline: none;
}
.custom-table .actions-cell a:hover,
.custom-table .actions-cell button:hover {
    background: oklch(89.7% 0.196 126.665);
}

.custom-table .actions-cell svg {
    color: #334155;
}

.dropDown-container {
    position: absolute;
    margin-top: 0.5rem;
    width: 20rem;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgb(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    z-index: 100;
    overflow: hidden;
    transform-origin: top right;
    top: 100%;
    right: 0px;
}

.input-text {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 60px;
    outline: none;
    width: 100%;
    height: 50px;
    padding: 20px 24px;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    color: #334155;
    box-sizing: border-box;
}
.input-text input::placeholder {
    font-size: 13px;
    text-align: right;
    color: #94a3b8;
    font-weight: 500;
}

.input-number {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 60px;
    outline: none;
    width: 100%;
    height: 50px;
    padding: 20px 24px;
    direction: ltr;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    box-sizing: border-box;
}
.input-number input::placeholder {
    font-size: 13px;
    text-align: center;
    color: #94a3b8;
    font-weight: 500;
}

.input-date {
    display: inline-block;
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    outline: none;
    width: 100%;
    height: 50px;
    padding: 6px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    box-sizing: border-box;
}

.input-date-icon {
    position: absolute;
    color: #334155;
    right: calc(0.5 * 35px);
    top: 50%;
    transform: translateY(-50%);
    outline: none;
    box-sizing: border-box;
}
.input-date-icon:hover {
    color: #0000CD;
}

.form-container {
    position: fixed;
    inset: 0;
    top: 10%;
    flex-direction: column;
    background-color: white;
    z-index: 100;
    padding: 26px;
    border-radius: 16px;
    width: fit-content;
    height: fit-content;
    box-sizing: border-box;
    margin: 0px auto;
}

.form-topbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.form-label {
    color: #334155;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    user-select: none;
    z-index: 10;
    word-spacing: -2px;
}

.pill-btn {
    height: fit-content;
    width: fit-content;
    border-radius: 60px;
    font-size: 12px;
    line-height: 1.6rem;
    font-weight: 700;
    padding: 6px 12px;
    box-sizing: border-box;
}

.lowrisk {
    background-color: #f8fafc;
    color: #0D0C22;
}
.midrisk {
    background-color: #f8fafc;
    color: #0D0C22;
}
.highrisk {
    background-color: #f8fafc;
    color: #0D0C22;
}

  .national-id-copy-text {
    cursor: pointer;
    display: inline-block;
    transition: transform 0.1s ease, color 0.12s ease;
  }
  .national-id-copy-text:hover {
    color: #0000FF;
  }
  .national-id-copy-text.is-pressed {
    animation: nidPressClick 0.18s ease;
  }
  @keyframes nidPressClick {
    0% { transform: scale(1) translateY(0); }
    40% { transform: scale(0.92) translateY(1px); }
    100% { transform: scale(1) translateY(0); }
  }

  #editModalPanel {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
  }

  #editModalPanel > div:first-child > * {
    position: relative;
    z-index: 1;
  }
  #editModalPanel form > .bg-gray-50\/50 {
    border: 2px solid #111827 !important;
    box-shadow: 3px 3px 0 #111827;
    background: #ffffff !important;
    border-radius: 4px !important;
  }
  
  #editModalPanel .edit-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 16px;
  }
  #editModalPanel .edit-actions {
    margin-top: 14px;
    padding-top: 14px;
  }
