@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&family=Roboto+Condensed:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap");
:root {
--navy:        #0d1b2a;
--navy-mid:    #1a2e45;
--navy-light:  #243b55;
--gold:        #c9a84c;
--gold-light:  #e8c97a;
--gold-pale:   #f5e9c8;
--ivory:       #faf8f3;
--ivory-dark:  #f0ece0;
--text-dark:   #1a1a2e;
--text-mid:    #3d4a5c;
--text-light:  #7a8a9a;
--border:      #ddd5bf;
--red-alert:   #c0392b;
--green-ok:    #1a6b3c;
--amber:       #d4780a;
--white:       #ffffff;
--shadow-sm:   0 2px 8px rgba(13,27,42,.08);
--shadow-md:   0 6px 24px rgba(13,27,42,.14);
--shadow-lg:   0 16px 48px rgba(13,27,42,.2);
--radius:      6px;
--font-display:    'Roboto Slab', Georgia, serif;
--font-body:       'Roboto', sans-serif;
--font-condensed:  'Roboto Condensed', sans-serif;
--transition:   all .22s cubic-bezier(.4,0,.2,1);
} .lexdosar-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
.lexdosar-wrap { font-family: var(--font-body); color: var(--text-dark); background: var(--ivory); } body.lexdosar-fullscreen { background: var(--ivory) !important; }
body.lexdosar-fullscreen #wpadminbar,
body.lexdosar-fullscreen .site-header,
body.lexdosar-fullscreen .site-footer,
body.lexdosar-fullscreen nav,
body.lexdosar-fullscreen .entry-header,
body.lexdosar-fullscreen .elementor-section:not(.lexdosar-section) { display: none !important; }
body.lexdosar-fullscreen .lexdosar-wrap { min-height: 100vh; } .lex-app {
display: flex;
min-height: 100vh;
background: var(--ivory);
} .lex-sidebar {
width: 280px;
flex-shrink: 0;
background: var(--navy);
display: flex;
flex-direction: column;
position: sticky;
top: 0;
height: 100vh;
overflow-y: auto;
z-index: 100;
}
.lex-logo {
padding: 32px 28px 24px;
border-bottom: 1px solid rgba(201,168,76,.25);
}
.lex-logo-name {
font-family: var(--font-display);
font-size: 22px;
font-weight: 600;
color: var(--gold);
letter-spacing: .5px;
line-height: 1.2;
}
.lex-logo-sub {
font-size: 10px;
letter-spacing: 2.5px;
text-transform: uppercase;
color: rgba(201,168,76,.55);
margin-top: 4px;
}
.lex-sidebar-nav { padding: 20px 0; flex: 1; }
.lex-nav-item {
display: flex;
align-items: center;
gap: 12px;
padding: 13px 28px;
cursor: pointer;
font-family: var(--font-condensed);
font-size: 13px;
font-weight: 600;
letter-spacing: 1.2px;
text-transform: uppercase;
color: rgba(255,255,255,.55);
transition: var(--transition);
border-left: 3px solid transparent;
}
.lex-nav-item:hover { color: var(--gold-light); background: rgba(201,168,76,.06); }
.lex-nav-item.active {
color: var(--gold);
background: rgba(201,168,76,.1);
border-left-color: var(--gold);
}
.lex-nav-item .lex-icon { font-size: 16px; width: 20px; text-align: center; }
.lex-sidebar-footer {
padding: 20px 28px;
border-top: 1px solid rgba(201,168,76,.15);
font-size: 11px;
color: rgba(201,168,76,.35);
letter-spacing: .5px;
} .lex-main {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
min-width: 0;
} .lex-topbar {
background: var(--white);
border-bottom: 1px solid var(--border);
padding: 16px 36px;
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
z-index: 50;
box-shadow: var(--shadow-sm);
}
.lex-topbar-title {
font-family: var(--font-display);
font-size: 26px;
font-weight: 600;
color: var(--navy);
letter-spacing: -.2px;
}
.lex-topbar-actions { display: flex; gap: 12px; align-items: center; } .lex-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 22px;
border-radius: var(--radius);
font-family: var(--font-condensed);
font-size: 12.5px;
font-weight: 600;
letter-spacing: 1.2px;
text-transform: uppercase;
cursor: pointer;
border: none;
transition: var(--transition);
text-decoration: none;
}
.lex-btn-primary {
background: var(--gold);
color: var(--navy);
border: 1.5px solid var(--gold);
}
.lex-btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,.35); }
.lex-btn-navy {
background: var(--navy);
color: var(--white);
border: 1.5px solid var(--navy);
}
.lex-btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.lex-btn-ghost {
background: var(--white);
color: var(--navy);
border: 1.5px solid var(--border);
}
.lex-btn-ghost:hover { border-color: var(--navy); background: var(--ivory-dark); } .lex-profile-header .lex-btn-ghost {
background: rgba(255,255,255,.12);
color: var(--white);
border-color: rgba(255,255,255,.35);
}
.lex-profile-header .lex-btn-ghost:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); }
.lex-btn-danger {
background: var(--red-alert);
color: var(--white);
border: 1.5px solid var(--red-alert);
}
.lex-btn-danger:hover { background: #a93226; border-color: #a93226; }
.lex-btn-success {
background: var(--green-ok);
color: var(--white);
border: 1.5px solid var(--green-ok);
}
.lex-btn-success:hover { background: #145a32; border-color: #145a32; }
.lex-btn-sm { padding: 7px 14px; font-size: 10.5px; letter-spacing: 1px; } .lex-content { padding: 32px 36px; flex: 1; overflow-y: auto; } .lex-view { display: none; }
.lex-view.active { display: block; animation: lexFadeIn .3s ease; }
@keyframes lexFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } .lex-stats-row {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-bottom: 32px;
}
.lex-stat-card {
background: var(--white);
border-radius: var(--radius);
padding: 22px 24px;
border: 1px solid var(--border);
box-shadow: var(--shadow-sm);
position: relative;
overflow: hidden;
}
.lex-stat-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 3px;
background: var(--gold);
}
.lex-stat-card.urgent::before { background: var(--red-alert); }
.lex-stat-card.done::before { background: var(--green-ok); }
.lex-stat-number {
font-family: var(--font-display);
font-size: 42px;
font-weight: 600;
color: var(--navy);
line-height: 1;
}
.lex-stat-label {
font-family: var(--font-condensed);
font-size: 11px;
letter-spacing: 2px;
text-transform: uppercase;
color: var(--text-light);
margin-top: 6px;
} .lex-filter-bar {
display: flex;
gap: 14px;
margin-bottom: 24px;
align-items: center;
flex-wrap: wrap;
}
.lex-search-box {
flex: 1;
min-width: 240px;
position: relative;
}
.lex-search-box input {
width: 100%;
padding: 11px 16px 11px 40px;
border: 1.5px solid var(--border);
border-radius: var(--radius);
font-family: var(--font-body);
font-size: 13px;
background: var(--white);
color: var(--text-dark);
transition: var(--transition);
outline: none;
}
.lex-search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.12); }
.lex-search-icon {
position: absolute;
left: 13px; top: 50%;
transform: translateY(-50%);
color: var(--text-light);
font-size: 14px;
}
.lex-select {
padding: 11px 16px;
border: 1.5px solid var(--border);
border-radius: var(--radius);
font-family: var(--font-body);
font-size: 12px;
background: var(--white);
color: var(--text-dark);
cursor: pointer;
outline: none;
transition: var(--transition);
}
.lex-select:focus { border-color: var(--gold); } .lex-dosare-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 20px;
}
.lex-dosar-card {
background: var(--white);
border-radius: var(--radius);
border: 1px solid var(--border);
box-shadow: var(--shadow-sm);
cursor: pointer;
transition: var(--transition);
overflow: hidden;
position: relative;
}
.lex-dosar-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-md);
border-color: var(--gold);
}
.lex-dosar-card-top {
background: var(--navy);
padding: 16px 20px;
display: flex;
align-items: flex-start;
justify-content: space-between;
}
.lex-dosar-card-name {
font-family: var(--font-display);
font-size: 19px;
font-weight: 600;
color: var(--white);
line-height: 1.2;
}
.lex-dosar-card-tip {
font-size: 10px;
letter-spacing: 1.5px;
text-transform: uppercase;
color: rgba(201,168,76,.7);
margin-top: 3px;
}
.lex-badge {
display: inline-block;
padding: 3px 10px;
border-radius: 20px;
font-family: var(--font-condensed);
font-size: 9.5px;
font-weight: 700;
letter-spacing: 1.5px;
text-transform: uppercase;
}
.lex-badge-activ  { background: rgba(26,107,60,.15);  color: var(--green-ok); border: 1px solid rgba(26,107,60,.25); }
.lex-badge-urgent { background: rgba(192,57,43,.12);  color: var(--red-alert); border: 1px solid rgba(192,57,43,.25); }
.lex-badge-terminat { background: rgba(122,138,154,.12); color: var(--text-light); border: 1px solid var(--border); }
.lex-dosar-card-body { padding: 16px 20px; }
.lex-dosar-meta-row {
display: flex;
gap: 16px;
font-size: 12px;
color: var(--text-light);
margin-bottom: 12px;
flex-wrap: wrap;
}
.lex-dosar-meta-item { display: flex; align-items: center; gap: 5px; }
.lex-dosar-meta-item strong { color: var(--text-dark); font-weight: 600; }
.lex-termen-box {
background: var(--ivory);
border: 1px solid var(--border);
border-radius: 4px;
padding: 10px 14px;
display: flex;
align-items: center;
justify-content: space-between;
}
.lex-termen-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-light); }
.lex-termen-date  { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--navy); }
.lex-termen-days  { font-size: 11px; font-weight: 600; }
.lex-termen-days.urgent { color: var(--red-alert); }
.lex-termen-days.soon   { color: var(--amber); }
.lex-termen-days.ok     { color: var(--green-ok); }
.lex-dosar-card-footer {
padding: 10px 20px;
border-top: 1px solid var(--border);
display: flex;
justify-content: flex-end;
gap: 8px;
} .lex-empty {
text-align: center;
padding: 80px 40px;
color: var(--text-light);
}
.lex-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: .4; }
.lex-empty-title { font-family: var(--font-display); font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.lex-empty-text { font-size: 14px; line-height: 1.6; } .lex-profile-header {
background: var(--navy);
border-radius: var(--radius) var(--radius) 0 0;
padding: 28px 36px 24px;
position: relative;
overflow: hidden;
}
.lex-profile-header::before {
content: '';
position: absolute;
top: 0; right: 0; bottom: 0;
width: 320px;
background: linear-gradient(135deg, transparent, rgba(201,168,76,.06));
pointer-events: none;
}
.lex-profile-header::after {
content: '';
position: absolute;
right: -50px; bottom: -50px;
width: 220px; height: 220px;
border-radius: 50%;
border: 45px solid rgba(201,168,76,.06);
pointer-events: none;
}
.lex-profile-header-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
margin-bottom: 18px;
}
.lex-profile-name {
font-family: var(--font-display);
font-size: 32px;
font-weight: 600;
color: var(--white);
letter-spacing: -.3px;
line-height: 1.15;
}
.lex-profile-caz-tip {
font-size: 10.5px;
letter-spacing: 2.5px;
text-transform: uppercase;
color: var(--gold);
margin-top: 5px;
opacity: .85;
} .lex-profile-actions {
display: flex;
gap: 8px;
align-items: center;
flex-shrink: 0;
} .lex-header-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 14px;
border-radius: 5px;
font-family: var(--font-condensed);
font-size: 11px;
font-weight: 700;
letter-spacing: 1.1px;
text-transform: uppercase;
cursor: pointer;
border: 1.5px solid transparent;
transition: var(--transition);
white-space: nowrap;
line-height: 1;
} .lex-header-btn-back {
background: transparent;
color: rgba(255,255,255,.55);
border-color: rgba(255,255,255,.18);
}
.lex-header-btn-back:hover {
color: rgba(255,255,255,.9);
border-color: rgba(255,255,255,.4);
background: rgba(255,255,255,.07);
} .lex-header-btn-secondary {
background: transparent;
color: rgba(201,168,76,.85);
border-color: rgba(201,168,76,.35);
}
.lex-header-btn-secondary:hover {
background: rgba(201,168,76,.12);
border-color: rgba(201,168,76,.65);
color: var(--gold-light);
} .lex-header-btn-ai {
background: var(--gold);
color: var(--navy);
border-color: var(--gold);
font-weight: 800;
padding: 9px 18px;
letter-spacing: .8px;
position: relative;
overflow: hidden;
}
.lex-header-btn-ai::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
pointer-events: none;
}
.lex-header-btn-ai:hover {
background: var(--gold-light);
border-color: var(--gold-light);
transform: translateY(-1px);
box-shadow: 0 4px 18px rgba(201,168,76,.45);
}
.lex-header-btn-ai:active {
transform: translateY(0);
box-shadow: none;
}
.lex-profile-meta-row {
display: flex;
gap: 28px;
flex-wrap: wrap;
}
.lex-profile-meta-item { color: rgba(255,255,255,.55); font-size: 13px; }
.lex-profile-meta-item span { color: rgba(255,255,255,.9); font-weight: 500; } .lex-profile-body {
background: var(--white);
border: 1px solid var(--border);
border-top: none;
border-radius: 0 0 var(--radius) var(--radius);
} .lex-tabs {
display: flex;
border-bottom: 1px solid var(--border);
background: var(--ivory);
overflow-x: auto;
overflow-y: visible;
position: relative;
z-index: 1;
-webkit-overflow-scrolling: touch;
}
.lex-tab {
padding: 15px 24px;
font-family: var(--font-condensed);
font-size: 11.5px;
font-weight: 600;
letter-spacing: 1.4px;
text-transform: uppercase;
color: var(--text-light);
cursor: pointer !important;
pointer-events: auto !important;
position: relative;
z-index: 2;
border-bottom: 3px solid transparent;
transition: var(--transition);
white-space: nowrap;
user-select: none;
-webkit-user-select: none;
flex-shrink: 0;
}
.lex-tab:hover { color: var(--navy); background: rgba(201,168,76,.06); }
.lex-tab.active { color: var(--navy); border-bottom-color: var(--gold); background: var(--white); font-weight: 700; }
.lex-tab-panel { display: none; padding: 30px 40px; }
.lex-tab-panel.active { display: block; animation: lexFadeIn .2s ease; } .lex-section-title {
font-family: var(--font-display);
font-size: 20px;
font-weight: 600;
color: var(--navy);
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
gap: 10px;
}
.lex-section-title::before {
content: '';
display: inline-block;
width: 4px; height: 20px;
background: var(--gold);
border-radius: 2px;
} .lex-data-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 16px;
margin-bottom: 28px;
}
.lex-data-item { display: flex; flex-direction: column; gap: 4px; }
.lex-data-label {
font-size: 10px;
letter-spacing: 1.8px;
text-transform: uppercase;
color: var(--text-light);
font-weight: 600;
}
.lex-data-value {
font-size: 14px;
color: var(--text-dark);
font-weight: 500;
line-height: 1.4;
}
.lex-data-value a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }
.lex-data-value.empty { color: var(--text-light); font-style: italic; } .lex-termene-list { display: flex; flex-direction: column; gap: 12px; }
.lex-termen-row {
display: flex;
align-items: center;
gap: 20px;
padding: 16px 20px;
background: var(--ivory);
border-radius: var(--radius);
border: 1px solid var(--border);
transition: var(--transition);
}
.lex-termen-row:hover { border-color: var(--gold); background: var(--gold-pale); }
.lex-termen-row.urmator {
background: var(--navy);
border-color: var(--navy);
}
.lex-termen-row.urmator .lex-data-label { color: rgba(201,168,76,.7); }
.lex-termen-row.urmator .lex-data-value { color: var(--white); }
.lex-termen-date-big {
font-family: var(--font-display);
font-size: 28px;
font-weight: 600;
color: var(--navy);
min-width: 100px;
}
.lex-termen-row.urmator .lex-termen-date-big { color: var(--gold); } .lex-list-cards { display: flex; flex-direction: column; gap: 14px; }
.lex-list-card {
background: var(--ivory);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 18px 22px;
transition: var(--transition);
}
.lex-list-card:hover { border-color: var(--gold); }
.lex-list-card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8px;
}
.lex-list-card-title { font-weight: 600; font-size: 14px; color: var(--navy); }
.lex-list-card-date  { font-size: 11px; color: var(--text-light); }
.lex-list-card-body  { font-size: 13px; color: var(--text-mid); line-height: 1.6; } .lex-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.lex-table th {
background: var(--navy);
color: var(--gold);
padding: 12px 16px;
text-align: left;
font-size: 10px;
letter-spacing: 1.5px;
text-transform: uppercase;
font-weight: 600;
}
.lex-table th:first-child { border-radius: var(--radius) 0 0 0; }
.lex-table th:last-child  { border-radius: 0 var(--radius) 0 0; }
.lex-table td {
padding: 13px 16px;
border-bottom: 1px solid var(--border);
color: var(--text-dark);
vertical-align: top;
}
.lex-table tr:last-child td { border-bottom: none; }
.lex-table tr:hover td { background: var(--ivory); }
.lex-table td.amount { font-weight: 600; font-family: var(--font-display); font-size: 16px; } .lex-breach-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.lex-breach-item {
display: flex;
gap: 12px;
padding: 14px 18px;
background: rgba(192,57,43,.04);
border: 1px solid rgba(192,57,43,.15);
border-radius: var(--radius);
font-size: 13px;
color: var(--text-dark);
line-height: 1.5;
}
.lex-breach-item::before {
content: '⚠';
color: var(--red-alert);
flex-shrink: 0;
font-size: 15px;
margin-top: 1px;
}
.lex-etapa-list { display: flex; flex-direction: column; gap: 0; }
.lex-etapa-item {
display: flex;
gap: 16px;
padding: 16px 0;
border-bottom: 1px solid var(--border);
align-items: flex-start;
}
.lex-etapa-item:last-child { border-bottom: none; }
.lex-etapa-num {
width: 30px; height: 30px;
border-radius: 50%;
background: var(--navy);
color: var(--gold);
display: flex; align-items: center; justify-content: center;
font-size: 12px; font-weight: 700;
flex-shrink: 0;
}
.lex-etapa-title { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.lex-etapa-detail { font-size: 13px; color: var(--text-mid); line-height: 1.5; } .lex-acte-list { display: flex; flex-direction: column; gap: 8px; }
.lex-act-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
border-radius: var(--radius);
border: 1px solid var(--border);
background: var(--white);
}
.lex-act-name { font-size: 13px; color: var(--text-dark); font-weight: 500; }
.lex-act-status {
font-size: 10px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
padding: 4px 12px;
border-radius: 20px;
}
.lex-act-status.detinut { background: rgba(26,107,60,.1); color: var(--green-ok); }
.lex-act-status.necesar  { background: rgba(212,120,10,.1); color: var(--amber); }
.lex-act-status.lipseste { background: rgba(192,57,43,.1); color: var(--red-alert); }
.lex-act-status.partial  { background: rgba(201,168,76,.15); color: #8a6a00; } .lex-llm-panel {
background: var(--navy);
border-radius: var(--radius);
padding: 28px 32px;
margin-bottom: 24px;
}
.lex-llm-title {
font-family: var(--font-display);
font-size: 22px;
color: var(--gold);
margin-bottom: 8px;
}
.lex-llm-sub { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 20px; line-height: 1.6; }
.lex-llm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lex-copy-success {
display: none;
align-items: center;
gap: 8px;
padding: 12px 18px;
background: rgba(26,107,60,.15);
border: 1px solid rgba(26,107,60,.3);
border-radius: var(--radius);
color: var(--green-ok);
font-size: 13px;
font-weight: 500;
margin-top: 12px;
} .lex-json-editor-wrap { position: relative; }
.lex-json-editor {
width: 100%;
min-height: 400px;
padding: 20px;
font-family: 'Courier New', monospace;
font-size: 12px;
line-height: 1.7;
background: #0d1b2a;
color: #c9a84c;
border: 2px solid var(--navy-mid);
border-radius: var(--radius);
resize: vertical;
outline: none;
transition: var(--transition);
}
.lex-json-editor:focus { border-color: var(--gold); }
.lex-json-toolbar {
display: flex;
gap: 10px;
margin-top: 12px;
align-items: center;
flex-wrap: wrap;
}
.lex-json-status { font-size: 12px; color: var(--text-light); margin-left: auto; }
.lex-json-status.valid { color: var(--green-ok); }
.lex-json-status.invalid { color: var(--red-alert); } .lex-new-dosar-panel {
max-width: 900px;
margin: 0 auto;
}
.lex-form-section {
background: var(--white);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 28px 32px;
margin-bottom: 20px;
}
.lex-form-section-title {
font-family: var(--font-display);
font-size: 18px;
font-weight: 600;
color: var(--navy);
margin-bottom: 20px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border);
}
.lex-form-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 16px; }
.lex-form-group { display: flex; flex-direction: column; gap: 6px; }
.lex-form-label {
font-family: var(--font-condensed);
font-size: 11px;
letter-spacing: 1.5px;
text-transform: uppercase;
color: var(--text-light);
font-weight: 600;
}
.lex-form-input,
.lex-form-select,
.lex-form-textarea {
padding: 11px 14px;
border: 1.5px solid var(--border);
border-radius: var(--radius);
font-family: var(--font-body);
font-size: 13px;
color: var(--text-dark);
background: var(--white);
outline: none;
transition: var(--transition);
}
.lex-form-input:focus,
.lex-form-select:focus,
.lex-form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.1); }
.lex-form-textarea { resize: vertical; min-height: 100px; } .lex-toast-container { position: fixed; top: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.lex-toast {
padding: 14px 20px;
border-radius: var(--radius);
font-size: 13px;
font-weight: 500;
display: flex;
align-items: center;
gap: 10px;
box-shadow: var(--shadow-md);
animation: lexToastIn .3s ease;
max-width: 360px;
}
@keyframes lexToastIn { from { opacity:0; transform: translateX(20px); } to { opacity:1; transform:none; } }
.lex-toast.success { background: var(--green-ok); color: var(--white); }
.lex-toast.error   { background: var(--red-alert); color: var(--white); }
.lex-toast.info    { background: var(--navy); color: var(--white); border-left: 4px solid var(--gold); } .lex-modal-overlay {
position: fixed; inset: 0;
background: rgba(13,27,42,.7);
backdrop-filter: blur(4px);
z-index: 9000;
display: flex;
align-items: center;
justify-content: center;
animation: lexFadeIn .2s ease;
}
.lex-modal {
background: var(--white);
border-radius: var(--radius);
padding: 36px 40px;
max-width: 480px;
width: 90%;
box-shadow: var(--shadow-lg);
}
.lex-modal-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.lex-modal-text  { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 24px; }
.lex-modal-actions { display: flex; gap: 12px; justify-content: flex-end; } .lex-loading {
display: flex;
align-items: center;
justify-content: center;
padding: 60px;
gap: 12px;
color: var(--text-light);
font-size: 13px;
}
.lex-spinner {
width: 24px; height: 24px;
border: 2px solid var(--border);
border-top-color: var(--gold);
border-radius: 50%;
animation: lexSpin .7s linear infinite;
}
@keyframes lexSpin { to { transform: rotate(360deg); } } .lex-urgency-bar {
height: 6px;
background: var(--border);
border-radius: 3px;
overflow: hidden;
margin: 6px 0;
}
.lex-urgency-fill {
height: 100%;
border-radius: 3px;
background: var(--green-ok);
transition: var(--transition);
}
.lex-urgency-fill.amber { background: var(--amber); }
.lex-urgency-fill.red   { background: var(--red-alert); } .jur-list { display: flex; flex-direction: column; gap: 10px; }
.jur-card {
border: 1.5px solid var(--border);
border-radius: var(--radius);
background: var(--white);
cursor: pointer;
transition: var(--transition);
overflow: hidden;
}
.jur-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.jur-card.jur-open { border-color: var(--gold); box-shadow: var(--shadow-md); }
.jur-card-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
gap: 12px;
}
.jur-card-header-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.jur-card-header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.jur-card-ref {
font-family: var(--font-condensed);
font-size: 13px;
font-weight: 700;
color: var(--navy);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 340px;
}
.jur-card-date {
font-size: 11px;
color: var(--text-light);
white-space: nowrap;
flex-shrink: 0;
}
.jur-card-subject {
padding: 0 18px 12px;
font-size: 12.5px;
color: var(--text-mid);
line-height: 1.5;
}
.jur-expand-icon {
font-size: 16px;
color: var(--text-light);
transition: var(--transition);
width: 18px;
text-align: center;
}
.jur-card.jur-open .jur-expand-icon { color: var(--gold); }
.jur-priority {
font-size: 11px;
color: var(--gold);
letter-spacing: 1px;
} .jur-badge {
display: inline-block;
padding: 2px 8px;
border-radius: 3px;
font-family: var(--font-condensed);
font-size: 9.5px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
white-space: nowrap;
flex-shrink: 0;
}
.jur-badge-iccj    { background: rgba(13,27,42,.1);    color: var(--navy); }
.jur-badge-ca      { background: rgba(13,27,42,.07);   color: var(--navy-mid); }
.jur-badge-trib    { background: rgba(13,27,42,.05);   color: var(--navy-light); }
.jur-badge-penal   { background: rgba(192,57,43,.12);  color: var(--red-alert); }
.jur-badge-cedo    { background: rgba(26,107,60,.12);  color: var(--green-ok); }
.jur-badge-cjue    { background: rgba(26,107,60,.09);  color: var(--green-ok); }
.jur-badge-ccr     { background: rgba(212,120,10,.12); color: var(--amber); }
.jur-badge-general { background: var(--ivory-dark);    color: var(--text-mid); } .jur-card-body {
border-top: 1px solid var(--border);
padding: 18px;
display: flex;
flex-direction: column;
gap: 14px;
background: var(--ivory);
}
.jur-field {}
.jur-field-label {
font-family: var(--font-condensed);
font-size: 9.5px;
font-weight: 700;
letter-spacing: 1.5px;
text-transform: uppercase;
color: var(--text-light);
margin-bottom: 5px;
}
.jur-field-val {
font-size: 13px;
color: var(--text-dark);
line-height: 1.6;
}
.jur-field-highlight {
background: var(--gold-pale);
border-left: 3px solid var(--gold);
border-radius: 0 var(--radius) var(--radius) 0;
padding: 10px 14px;
}
.jur-field-highlight .jur-field-val {
font-style: italic;
color: var(--navy);
font-size: 13px;
}
.jur-link {
color: var(--navy);
font-size: 12px;
word-break: break-all;
text-decoration: underline;
text-underline-offset: 2px;
}
.jur-link:hover { color: var(--gold); }
.jur-tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
padding-top: 4px;
}
.jur-tag {
background: var(--ivory-dark);
border: 1px solid var(--border);
border-radius: 20px;
padding: 3px 10px;
font-family: var(--font-condensed);
font-size: 10px;
font-weight: 600;
color: var(--text-mid);
letter-spacing: .5px;
} @media (max-width: 900px) {
.lex-sidebar { width: 220px; }
.lex-content { padding: 20px; }
.lex-topbar  { padding: 14px 20px; }
.lex-stats-row { grid-template-columns: repeat(2, 1fr); }
.lex-tab-panel { padding: 20px; }
.lex-profile-header { padding: 22px 24px; }
}
@media (max-width: 640px) {
.lex-app { flex-direction: column; }
.lex-sidebar { width: 100%; height: auto; position: relative; }
.lex-sidebar-nav { display: flex; flex-wrap: wrap; padding: 8px; }
.lex-nav-item { padding: 10px 14px; border-left: none; border-bottom: 3px solid transparent; font-size: 11px; }
.lex-stats-row { grid-template-columns: 1fr 1fr; }
.lex-dosare-grid { grid-template-columns: 1fr; }
} @media print {
.lex-sidebar, .lex-topbar-actions, .lex-dosar-card-footer, .lex-llm-panel { display: none !important; }
.lex-profile-header { background: var(--navy) !important; -webkit-print-color-adjust: exact; }
} .ical-wrap { display:flex; flex-direction:column; gap:0; background:var(--white); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); } .ical-header { display:flex; justify-content:space-between; align-items:center; padding:14px 20px; border-bottom:1px solid var(--border); background:var(--white); flex-wrap:wrap; gap:12px; }
.ical-header-left { display:flex; align-items:center; gap:12px; }
.ical-header-right { display:flex; align-items:center; gap:10px; }
.ical-btn-today { background:var(--white); border:1.5px solid var(--border); color:var(--navy); font-family:var(--font-condensed); font-size:11.5px; font-weight:700; letter-spacing:.8px; padding:6px 14px; border-radius:var(--radius); cursor:pointer; transition:var(--transition); }
.ical-btn-today:hover { border-color:var(--navy); background:var(--ivory); }
.ical-nav-arrows { display:flex; gap:2px; }
.ical-arrow { background:none; border:1.5px solid var(--border); color:var(--navy); font-size:20px; line-height:1; width:30px; height:30px; border-radius:4px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:var(--transition); }
.ical-arrow:hover { background:var(--ivory); border-color:var(--navy); }
.ical-title { font-family:var(--font-display); font-size:20px; font-weight:600; color:var(--navy); }
.ical-title-year { color:var(--text-light); font-weight:400; }
.ical-view-switch { display:flex; border:1.5px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.ical-view-btn { background:var(--white); border:none; border-right:1px solid var(--border); color:var(--text-mid); font-family:var(--font-condensed); font-size:11.5px; font-weight:700; letter-spacing:.8px; padding:6px 16px; cursor:pointer; transition:var(--transition); }
.ical-view-btn:last-child { border-right:none; }
.ical-view-btn:hover { background:var(--ivory); }
.ical-view-btn.active { background:var(--navy); color:var(--gold); } .ical-body { display:grid; grid-template-columns:1fr 240px; min-height:480px; }
.ical-main { border-right:1px solid var(--border); overflow:hidden; } .ical-month-grid { display:grid; grid-template-columns:repeat(7,1fr); }
.ical-dow { background:var(--ivory); color:var(--text-light); font-family:var(--font-condensed); font-size:9.5px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; text-align:center; padding:10px 4px; border-bottom:1px solid var(--border); border-right:1px solid var(--border); }
.ical-dow:last-child { border-right:none; }
.ical-dow-weekend { color:var(--text-light); opacity:.7; }
.ical-cell { background:var(--white); border-bottom:1px solid var(--border); border-right:1px solid var(--border); padding:6px 8px; min-height:96px; vertical-align:top; transition:background .15s; }
.ical-cell:nth-child(7n) { border-right:none; }
.ical-other-month { background:var(--ivory-dark); }
.ical-other-month .ical-day-num { color:var(--border); }
.ical-past { background:var(--ivory-dark); }
.ical-weekend { background:rgba(122,138,154,.04); }
.ical-today { background:rgba(201,168,76,.05) !important; }
.ical-cell-header { display:flex; align-items:center; justify-content:flex-start; margin-bottom:4px; }
.ical-day-num { font-family:var(--font-condensed); font-size:12.5px; font-weight:600; color:var(--text-mid); width:26px; height:26px; display:flex; align-items:center; justify-content:center; border-radius:50%; }
.ical-today-badge { background:var(--navy); color:var(--white) !important; font-weight:700; }
.ical-urgent-badge { color:var(--red-alert) !important; font-weight:800; }
.ical-events-in-cell { display:flex; flex-direction:column; gap:2px; } .ical-chip { font-size:10px; font-family:var(--font-condensed); font-weight:600; padding:2px 7px; border-radius:3px; cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; transition:opacity .15s; letter-spacing:.3px; }
.ical-chip:hover { opacity:.75; }
.chip-termen      { background:rgba(13,27,42,.08); color:var(--navy-mid); border-left:2px solid var(--navy); }
.chip-prescriptie { background:rgba(212,120,10,.1); color:var(--amber); border-left:2px solid var(--amber); }
.chip-istoric     { background:rgba(26,107,60,.08); color:var(--green-ok); border-left:2px solid var(--green-ok); }
.chip-urgent      { background:rgba(192,57,43,.12) !important; color:var(--red-alert) !important; border-left-color:var(--red-alert) !important; }
.ical-more-chip   { font-size:9.5px; color:var(--text-light); font-family:var(--font-condensed); font-weight:600; padding:1px 6px; } .ical-week-grid { display:flex; flex-direction:column; height:100%; }
.ical-week-header-row { display:grid; grid-template-columns:repeat(7,1fr); border-bottom:2px solid var(--border); }
.ical-week-col-header { padding:12px 8px 10px; text-align:center; border-right:1px solid var(--border); transition:background .15s; }
.ical-week-col-header:last-child { border-right:none; }
.ical-week-today-header { background:rgba(201,168,76,.06); }
.ical-week-past-header { opacity:.7; }
.ical-week-dow { font-family:var(--font-condensed); font-size:9.5px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--text-light); margin-bottom:6px; }
.ical-week-date-num { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; font-family:var(--font-condensed); font-size:16px; font-weight:700; color:var(--navy); margin-bottom:4px; }
.ical-week-count { font-size:9.5px; font-family:var(--font-condensed); font-weight:600; color:var(--text-light); letter-spacing:.5px; }
.ical-week-count-empty { height:14px; }
.ical-week-events-row { display:grid; grid-template-columns:repeat(7,1fr); flex:1; }
.ical-week-col { border-right:1px solid var(--border); padding:10px 8px; display:flex; flex-direction:column; gap:6px; min-height:300px; }
.ical-week-col:last-child { border-right:none; }
.ical-week-today-col { background:rgba(201,168,76,.04); }
.ical-week-past-col { background:var(--ivory-dark); opacity:.85; }
.ical-week-empty-cell { flex:1; } .ical-chip-week { border-radius:4px; padding:8px 10px; cursor:pointer; transition:opacity .15s; border-left:3px solid transparent; }
.ical-chip-week:hover { opacity:.8; }
.ical-chip-week.chip-termen      { background:rgba(13,27,42,.07); border-left-color:var(--navy); }
.ical-chip-week.chip-prescriptie { background:rgba(212,120,10,.09); border-left-color:var(--amber); }
.ical-chip-week.chip-istoric     { background:rgba(26,107,60,.07); border-left-color:var(--green-ok); }
.ical-chip-week.chip-urgent      { background:rgba(192,57,43,.1) !important; border-left-color:var(--red-alert) !important; }
.ical-chip-week-client { font-family:var(--font-condensed); font-size:11.5px; font-weight:700; color:var(--navy); margin-bottom:2px; line-height:1.3; }
.ical-chip-week-detaliu { font-size:10px; color:var(--text-mid); line-height:1.4; } .ical-sidebar { display:flex; flex-direction:column; overflow-y:auto; max-height:640px; }
.ical-sidebar-title { font-family:var(--font-condensed); font-size:9.5px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--text-light); padding:14px 16px 8px; border-bottom:1px solid var(--border); position:sticky; top:0; background:var(--white); z-index:1; }
.ical-sidebar-empty { font-size:12px; color:var(--text-light); padding:20px 16px; text-align:center; }
.ical-sb-row { display:flex; align-items:flex-start; gap:10px; padding:10px 14px; border-bottom:1px solid var(--border); cursor:pointer; transition:background .15s; position:relative; }
.ical-sb-row:hover { background:var(--ivory); }
.ical-sb-indicator { width:3px; border-radius:2px; align-self:stretch; flex-shrink:0; min-height:36px; }
.sb-azi    .ical-sb-indicator { background:var(--gold); }
.sb-urgent .ical-sb-indicator { background:var(--red-alert); }
.sb-soon   .ical-sb-indicator { background:var(--amber); }
.sb-ok     .ical-sb-indicator { background:var(--border); }
.ical-sb-content { flex:1; min-width:0; }
.ical-sb-client { font-family:var(--font-condensed); font-size:11.5px; font-weight:700; color:var(--navy); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:flex; align-items:center; gap:5px; }
.ical-sb-detaliu { font-size:10.5px; color:var(--text-light); line-height:1.4; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ical-sb-days { font-family:var(--font-condensed); font-size:10px; font-weight:700; flex-shrink:0; text-align:right; margin-top:2px; }
.sb-azi    .ical-sb-days { color:var(--gold); }
.sb-urgent .ical-sb-days { color:var(--red-alert); }
.sb-soon   .ical-sb-days { color:var(--amber); }
.sb-ok     .ical-sb-days { color:var(--text-light); }
.sb-urg-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--red-alert); flex-shrink:0; } .ical-legend { display:flex; gap:20px; padding:12px 20px; border-top:1px solid var(--border); background:var(--ivory); flex-wrap:wrap; }
.ical-legend-item { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--text-mid); font-family:var(--font-condensed); font-weight:600; letter-spacing:.5px; }
.ical-leg-dot { display:inline-block; width:12px; height:8px; border-radius:2px; }
.ical-leg-dot.chip-termen      { background:rgba(13,27,42,.12); border-left:2px solid var(--navy); }
.ical-leg-dot.chip-prescriptie { background:rgba(212,120,10,.15); border-left:2px solid var(--amber); }
.ical-leg-dot.chip-urgent      { background:rgba(192,57,43,.15); border-left:2px solid var(--red-alert); }
@media (max-width:900px) {
.ical-body { grid-template-columns:1fr; }
.ical-sidebar { max-height:250px; border-top:1px solid var(--border); }
.ical-main { border-right:none; }
} .search-results-list { display:flex; flex-direction:column; gap:10px; }
.search-result-card { border:1.5px solid var(--border); border-radius:var(--radius); padding:16px 20px; background:var(--white); cursor:pointer; transition:var(--transition); }
.search-result-card:hover { border-color:var(--gold); box-shadow:var(--shadow-sm); transform:translateY(-1px); }
.search-result-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:4px; gap:12px; }
.search-result-name { font-family:var(--font-display); font-size:17px; font-weight:600; color:var(--navy); }
.search-result-tip { font-family:var(--font-condensed); font-size:10.5px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:var(--text-light); margin-bottom:10px; }
.search-snippet { margin-bottom:8px; padding:8px 12px; background:var(--ivory); border-radius:var(--radius); border-left:3px solid var(--gold-pale); }
.search-snippet-field { font-family:var(--font-condensed); font-size:9.5px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--text-light); margin-bottom:3px; }
.search-snippet-text { font-size:12px; color:var(--text-mid); line-height:1.5; }
.search-snippet-text mark { background:rgba(201,168,76,.3); color:var(--navy); font-weight:600; border-radius:2px; padding:0 2px; } .lex-csec {
border: 1px solid var(--border);
border-radius: var(--radius);
margin-bottom: 12px;
overflow: hidden;
background: var(--white);
}
.lex-csec-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 20px;
cursor: pointer;
background: var(--ivory);
transition: var(--transition);
user-select: none;
-webkit-user-select: none;
}
.lex-csec-header:hover { background: var(--ivory-dark); }
.lex-csec.open .lex-csec-header { background: var(--navy); }
.lex-csec.open .lex-csec-header:hover { background: var(--navy-mid); }
.lex-csec-title {
font-family: var(--font-condensed);
font-size: 12px;
font-weight: 700;
letter-spacing: 1.2px;
text-transform: uppercase;
color: var(--navy);
transition: color .2s;
}
.lex-csec.open .lex-csec-title { color: var(--gold); }
.lex-csec-arrow {
font-size: 14px;
color: var(--text-light);
transition: var(--transition);
flex-shrink: 0;
}
.lex-csec.open .lex-csec-arrow { color: var(--gold); }
.lex-csec-body {
padding: 20px 22px;
border-top: 1px solid var(--border);
} .lex-csec-highlight {
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(201,168,76,.07);
border: 1px solid rgba(201,168,76,.25);
border-radius: var(--radius);
padding: 12px 18px;
margin-bottom: 14px;
}
.lex-csec-hl-label {
font-family: var(--font-condensed);
font-size: 10.5px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
color: var(--text-light);
}
.lex-csec-hl-value {
font-size: 15px;
font-weight: 700;
color: var(--navy);
text-align: right;
max-width: 60%;
} .lex-prescriptie-box {
display: flex;
gap: 16px;
align-items: center;
background: rgba(192,57,43,.05);
border: 1px solid rgba(192,57,43,.2);
border-radius: 6px;
padding: 16px 20px;
}.lex-btn-ai {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
color: #e8d5b7 !important;
border: 1px solid #c9a84c;
display: inline-flex;
align-items: center;
gap: 7px;
font-weight: 600;
letter-spacing: 0.02em;
transition: all 0.2s ease;
position: relative;
overflow: hidden;
}
.lex-btn-ai::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.15));
pointer-events: none;
}
.lex-btn-ai:hover {
background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
border-color: #e8c84c;
box-shadow: 0 0 12px rgba(201,168,76,0.35);
transform: translateY(-1px);
}
.lex-btn-ai:active { transform: translateY(0); }
.lex-btn-ai:disabled {
opacity: 0.65;
cursor: not-allowed;
transform: none;
}
.lex-ai-icon,
.lex-ai-star {
display: inline-flex;
font-size: 14px;
color: #c9a84c;
animation: lex-ai-pulse 2.5s ease-in-out infinite;
}
@keyframes lex-ai-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.55; }
} .lex-ai-modal-overlay {
position: fixed;
inset: 0;
background: rgba(10, 12, 20, 0.72);
backdrop-filter: blur(4px);
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
opacity: 0;
transition: opacity 0.25s ease;
}
.lex-ai-modal-overlay.lex-ai-modal-visible {
opacity: 1;
} .lex-ai-modal-box {
background: #ffffff;
border-radius: 14px;
box-shadow: 0 24px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(201,168,76,0.2);
width: 100%;
max-width: 660px;
max-height: 92vh;
display: flex;
flex-direction: column;
transform: translateY(16px) scale(0.98);
transition: transform 0.25s ease;
overflow: hidden;
}
.lex-ai-modal-overlay.lex-ai-modal-visible .lex-ai-modal-box {
transform: translateY(0) scale(1);
} .lex-ai-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 24px 18px;
background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
border-bottom: 2px solid #c9a84c;
}
.lex-ai-modal-title {
font-size: 17px;
font-weight: 700;
color: #e8d5b7;
display: flex;
align-items: center;
gap: 9px;
letter-spacing: 0.01em;
}
.lex-ai-modal-title .lex-ai-star {
font-size: 18px;
}
.lex-ai-modal-close {
background: none;
border: 1px solid rgba(232,213,183,0.3);
color: #e8d5b7;
border-radius: 50%;
width: 30px;
height: 30px;
cursor: pointer;
font-size: 13px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s;
line-height: 1;
}
.lex-ai-modal-close:hover {
background: rgba(232,213,183,0.15);
border-color: rgba(232,213,183,0.6);
} .lex-ai-modal-body {
padding: 22px 24px;
overflow-y: auto;
flex: 1;
}
.lex-ai-field-group {
margin-bottom: 20px;
}
.lex-ai-label {
display: block;
font-size: 13px;
font-weight: 600;
color: #2d3748;
margin-bottom: 8px;
letter-spacing: 0.01em;
}
.lex-ai-badge {
background: #edf2f7;
color: #718096;
font-size: 11px;
font-weight: 500;
padding: 2px 7px;
border-radius: 10px;
margin-left: 5px;
vertical-align: middle;
} .lex-ai-textarea {
width: 100%;
border: 1.5px solid #e2e8f0;
border-radius: 8px;
padding: 12px 14px;
font-size: 13.5px;
line-height: 1.6;
color: #2d3748;
background: #fdfdfe;
resize: vertical;
min-height: 140px;
font-family: inherit;
transition: border-color 0.15s, box-shadow 0.15s;
box-sizing: border-box;
}
.lex-ai-textarea:focus {
outline: none;
border-color: #c9a84c;
box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.lex-ai-textarea::placeholder {
color: #a0aec0;
font-style: italic;
} .lex-ai-dropzone {
border: 2px dashed #cbd5e0;
border-radius: 10px;
padding: 24px 20px;
text-align: center;
cursor: pointer;
transition: all 0.2s;
background: #f8fafc;
}
.lex-ai-dropzone:hover,
.lex-ai-drop-hover {
border-color: #c9a84c;
background: #fffdf5;
}
.lex-ai-drop-icon {
font-size: 28px;
margin-bottom: 8px;
opacity: 0.7;
}
.lex-ai-drop-text {
font-size: 14px;
color: #4a5568;
margin-bottom: 5px;
}
.lex-ai-browse-link {
color: #0f3460;
text-decoration: underline;
cursor: pointer;
font-weight: 600;
}
.lex-ai-browse-link:hover { color: #c9a84c; }
.lex-ai-drop-types {
font-size: 12px;
color: #a0aec0;
} .lex-ai-file-preview {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 14px;
background: #f0fff4;
border: 1.5px solid #9ae6b4;
border-radius: 8px;
}
.lex-ai-file-icon { font-size: 20px; }
.lex-ai-file-name {
flex: 1;
font-size: 13px;
font-weight: 600;
color: #276749;
word-break: break-word;
}
.lex-ai-file-size {
font-size: 12px;
color: #48bb78;
white-space: nowrap;
}
.lex-ai-file-remove {
background: none;
border: 1px solid #c6f6d5;
color: #68d391;
border-radius: 50%;
width: 22px;
height: 22px;
font-size: 11px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s;
flex-shrink: 0;
line-height: 1;
}
.lex-ai-file-remove:hover { background: #c6f6d5; color: #276749; } .lex-ai-warning {
margin-top: 8px;
padding: 9px 13px;
background: #fffbf0;
border: 1px solid #f6ad55;
border-radius: 6px;
font-size: 13px;
color: #7b341e;
} .lex-ai-progress {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 16px;
background: #ebf8ff;
border: 1px solid #90cdf4;
border-radius: 8px;
margin-top: 4px;
}
.lex-ai-spinner {
width: 20px;
height: 20px;
border: 2.5px solid #bee3f8;
border-top-color: #3182ce;
border-radius: 50%;
animation: lex-ai-spin 0.8s linear infinite;
flex-shrink: 0;
}
@keyframes lex-ai-spin {
to { transform: rotate(360deg); }
}
.lex-ai-progress-text {
font-size: 13px;
color: #2b6cb0;
font-weight: 500;
} .lex-ai-error {
padding: 12px 15px;
background: #fff5f5;
border: 1.5px solid #feb2b2;
border-radius: 8px;
font-size: 13px;
color: #c53030;
margin-top: 4px;
line-height: 1.5;
} .lex-ai-modal-footer {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
padding: 16px 24px;
border-top: 1px solid #e2e8f0;
background: #f8fafc;
}
.lex-btn-ai-send {
min-width: 200px;
justify-content: center;
padding: 10px 20px;
font-size: 14px;
} .lex-ai-toast {
position: fixed;
bottom: 24px;
right: 24px;
padding: 13px 20px;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
z-index: 999999;
opacity: 0;
transform: translateY(10px);
transition: all 0.3s ease;
max-width: 380px;
box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.lex-ai-toast-show {
opacity: 1;
transform: translateY(0);
}
.lex-ai-toast-success {
background: #1a1a2e;
color: #e8d5b7;
border: 1px solid #c9a84c;
}
.lex-ai-toast-error {
background: #742a2a;
color: #fff5f5;
border: 1px solid #fc8181;
} @media (max-width: 700px) {
.lex-ai-modal-box {
max-width: 100%;
border-radius: 12px 12px 0 0;
max-height: 95vh;
}
.lex-ai-modal-overlay {
align-items: flex-end;
padding: 0;
}
.lex-btn-ai-send { min-width: unset; flex: 1; }
} .lex-ai-raw-box {
margin-top: 12px;
border: 1px solid rgba(201,168,76,.3);
border-radius: 6px;
overflow: hidden;
}
.lex-ai-raw-label {
font-family: var(--font-condensed, monospace);
font-size: 10px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
color: rgba(201,168,76,.8);
background: rgba(201,168,76,.08);
padding: 7px 12px;
border-bottom: 1px solid rgba(201,168,76,.2);
}
.lex-ai-raw-textarea {
display: block;
width: 100%;
min-height: 140px;
max-height: 260px;
padding: 10px 12px;
font-family: 'Courier New', monospace;
font-size: 11px;
line-height: 1.55;
color: #c8d0d8;
background: #0d1117;
border: none;
resize: vertical;
outline: none;
box-sizing: border-box;
}
.lex-ai-raw-copy {
width: 100%;
border-radius: 0 !important;
border-top: 1px solid rgba(201,168,76,.2) !important;
font-size: 10.5px !important;
justify-content: center;
}