/*
 * Portal Juridic Clienți — refresh vizual 2026
 * Strat exclusiv estetic, încărcat după stilurile stabile 1.5.0.
 */

.lcp-portal-shell {
  --lcp-2026-ink: #171714;
  --lcp-2026-ink-soft: #393832;
  --lcp-2026-muted: #747169;
  --lcp-2026-gold: #ad7b2f;
  --lcp-2026-gold-deep: #85591f;
  --lcp-2026-gold-soft: #f2e7d3;
  --lcp-2026-paper: #ffffff;
  --lcp-2026-canvas: #f5f4f0;
  --lcp-2026-surface: #faf9f6;
  --lcp-2026-line: #e5e1d9;
  --lcp-2026-line-strong: #d5c7af;
  --lcp-2026-success: #2f7447;
  --lcp-2026-success-soft: #edf7f0;
  --lcp-2026-danger: #a43e3e;
  --lcp-2026-radius-sm: 10px;
  --lcp-2026-radius: 16px;
  --lcp-2026-radius-lg: 24px;
  --lcp-2026-shadow-sm: 0 8px 24px rgba(28, 25, 19, .055);
  --lcp-2026-shadow: 0 22px 60px rgba(28, 25, 19, .09);
  color: var(--lcp-2026-ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Stripe payment requests inside the private conversation */
.lcp-portal-shell .lcp-payment-message {
  margin: 14px 0;
  padding: 22px;
  border: 1px solid rgba(190, 139, 54, .42);
  border-radius: 18px;
  background: linear-gradient(145deg, #fffdf8 0%, #f8f0df 100%);
  box-shadow: 0 14px 34px rgba(35, 27, 12, .08);
  color: #191712;
}

.lcp-portal-shell .lcp-payment-message.is-paid {
  border-color: rgba(41, 123, 79, .38);
  background: linear-gradient(145deg, #fbfffc 0%, #eaf5ed 100%);
}

.lcp-portal-shell .lcp-payment-message-head,
.lcp-portal-shell .lcp-payment-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lcp-portal-shell .lcp-payment-message-head {
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #9c6c20;
}

.lcp-portal-shell .lcp-payment-message-head time {
  color: #81786a;
  letter-spacing: 0;
  font-weight: 500;
}

.lcp-portal-shell .lcp-payment-main small {
  display: block;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #81786a;
}

.lcp-portal-shell .lcp-payment-main strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
}

.lcp-portal-shell .lcp-payment-status {
  padding: 7px 10px;
  border: 1px solid rgba(190, 139, 54, .32);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  font-size: 10px;
  font-weight: 750;
}

.lcp-portal-shell .lcp-payment-message > p {
  margin: 17px 0;
}

.lcp-portal-shell .lcp-payment-button,
.lcp-portal-shell .lcp-payment-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid #b9842f;
  border-radius: 9px;
  background: #15130f;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 750;
  cursor: pointer;
}

.lcp-portal-shell .lcp-payment-button:hover,
.lcp-portal-shell .lcp-payment-button:focus,
.lcp-portal-shell .lcp-payment-create:hover,
.lcp-portal-shell .lcp-payment-create:focus {
  background: #b9842f;
  color: #111 !important;
}

.lcp-portal-shell .lcp-payment-note {
  display: block;
  margin-top: 11px;
  color: #746c60;
  line-height: 1.55;
}

.lcp-portal-shell .lcp-payment-confirmed {
  color: #246943;
  font-weight: 750;
}

.lcp-portal-shell .lcp-payment-closed {
  color: #756e64;
  font-weight: 650;
}

.lcp-portal-shell .lcp-payment-composer {
  margin-top: 14px;
  border: 1px solid rgba(190, 139, 54, .28);
  border-radius: 14px;
  background: #fbf8f1;
}

.lcp-portal-shell .lcp-payment-composer summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.lcp-portal-shell .lcp-payment-composer summary::-webkit-details-marker { display: none; }
.lcp-portal-shell .lcp-payment-composer summary span {
  margin-right: 8px;
  color: #9c6c20;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 10px;
}

.lcp-portal-shell .lcp-payment-composer form {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px 14px;
  padding: 0 16px 16px;
}

.lcp-portal-shell .lcp-payment-composer label {
  align-self: center;
  font-size: 12px;
  font-weight: 700;
}

.lcp-portal-shell .lcp-payment-composer input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7cebe;
  border-radius: 8px;
  background: #fff;
  color: #171510;
}

.lcp-portal-shell .lcp-payment-composer .lcp-payment-create {
  grid-column: 2;
  justify-self: start;
}

@media (max-width: 640px) {
  .lcp-portal-shell .lcp-payment-message { padding: 17px; }
  .lcp-portal-shell .lcp-payment-message-head,
  .lcp-portal-shell .lcp-payment-main { align-items: flex-start; }
  .lcp-portal-shell .lcp-payment-message-head { flex-direction: column; gap: 4px; }
  .lcp-portal-shell .lcp-payment-main { flex-direction: column; gap: 10px; }
  .lcp-portal-shell .lcp-payment-button { width: 100%; }
  .lcp-portal-shell .lcp-payment-composer form { display: block; }
  .lcp-portal-shell .lcp-payment-composer label { display: block; margin: 10px 0 5px; }
  .lcp-portal-shell .lcp-payment-composer .lcp-payment-create { width: 100%; margin-top: 12px; }
}

.lcp-portal-shell * {
  scrollbar-color: #cfc7bb transparent;
  scrollbar-width: thin;
}

.lcp-portal-shell *::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.lcp-portal-shell *::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #cfc7bb;
  background-clip: padding-box;
}

.lcp-portal-shell ::selection {
  background: #ead6b3;
  color: #171714;
}

.lcp-portal-shell a,
.lcp-portal-shell button,
.lcp-portal-shell input,
.lcp-portal-shell select,
.lcp-portal-shell textarea,
.lcp-portal-shell summary {
  -webkit-tap-highlight-color: transparent;
}

.lcp-portal-shell :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(173, 123, 47, .24) !important;
  outline-offset: 3px;
}

/* Cadru general și header */
.lcp-portal-shell .lcp-dashboard {
  min-height: 680px;
  padding-bottom: 72px;
  background: var(--lcp-2026-canvas);
}

.lcp-portal-shell .lcp-portal-header {
  min-height: 68px;
  padding-top: 12px;
  padding-bottom: 12px;
  border: 0;
  border-bottom: 1px solid rgba(214, 174, 111, .26);
  background: #0d0d0c;
  box-shadow: 0 7px 24px rgba(0, 0, 0, .12);
}

.lcp-portal-shell .lcp-brand {
  gap: 12px;
}

.lcp-portal-shell .lcp-brand > span {
  width: 41px;
  height: 41px;
  border-color: rgba(216, 172, 101, .82);
  border-radius: 11px;
  background: #171613;
  color: #d8ac65;
  font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
}

.lcp-portal-shell .lcp-brand strong {
  color: #fff;
  font-size: 18px !important;
  font-weight: 600;
  letter-spacing: -.015em;
}

.lcp-portal-shell .lcp-portal-admin-nav {
  gap: 4px;
  margin-left: 28px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

.lcp-portal-shell .lcp-portal-admin-nav a {
  padding: 7px 12px;
  border-radius: 999px;
  color: #d9d7d2 !important;
  font-size: 11.5px;
  transition: background .2s ease, color .2s ease;
}

.lcp-portal-shell .lcp-portal-admin-nav a:hover,
.lcp-portal-shell .lcp-portal-admin-nav a:focus {
  background: rgba(216, 172, 101, .12);
  color: #e5bd7e !important;
}

.lcp-portal-shell .lcp-user-menu {
  gap: 12px;
  color: #bbb8b0;
  font-size: 12.5px !important;
}

.lcp-portal-shell .lcp-user-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(216, 172, 101, .38);
  border-radius: 999px;
  color: #ddb572 !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.lcp-portal-shell .lcp-user-menu a:hover,
.lcp-portal-shell .lcp-user-menu a:focus {
  border-color: #d8ac65;
  background: #d8ac65;
  color: #111 !important;
}

/* Selector de limbă nativ, vizibil în autentificare și în portalul clientului. */
.lcp-portal-shell .lcp-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(216, 172, 101, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.lcp-portal-shell .lcp-language-caption {
  padding: 0 7px;
  color: #aaa69d;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lcp-portal-shell .lcp-language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #e2ddd4 !important;
  text-decoration: none !important;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.lcp-portal-shell .lcp-language-switch a:hover,
.lcp-portal-shell .lcp-language-switch a:focus,
.lcp-portal-shell .lcp-language-switch a.is-active {
  background: #d8ac65;
  color: #111 !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
}

.lcp-portal-shell .lcp-language-switch-login {
  position: absolute;
  z-index: 12;
  top: 18px;
  right: 18px;
  border-color: rgba(173, 123, 47, .34);
  background: #f7f3eb;
  box-shadow: 0 5px 18px rgba(42, 31, 16, .08);
}

.lcp-portal-shell .lcp-language-switch-login .lcp-language-caption {
  color: #756a5a;
}

.lcp-portal-shell .lcp-language-switch-login a {
  color: #6f604a !important;
}

.lcp-portal-shell .lcp-welcome,
.lcp-portal-shell .lcp-section,
.lcp-portal-shell .lcp-case-hero,
.lcp-portal-shell .lcp-overview-grid,
.lcp-portal-shell .lcp-content-grid,
.lcp-portal-shell .lcp-back,
.lcp-portal-shell .lcp-notice,
.lcp-portal-shell .lcp-admin-editor,
.lcp-portal-shell .lcp-calendar-hero,
.lcp-portal-shell .lcp-calendar-layout,
.lcp-portal-shell .lcp-creation-tools {
  width: min(1380px, calc(100% - 64px));
}

/* Autentificare */
.lcp-portal-shell .lcp-login-page {
  min-height: 650px;
  padding: 54px 28px;
  background: var(--lcp-2026-canvas);
}

.lcp-portal-shell .lcp-login-card {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(500px, 1.18fr);
  gap: 0;
  width: min(1080px, 100%);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--lcp-2026-line);
  border-radius: var(--lcp-2026-radius-lg);
  background: var(--lcp-2026-paper);
  box-shadow: var(--lcp-2026-shadow);
  text-align: left;
}

.lcp-portal-shell .lcp-login-card::after,
.lcp-portal-shell .lcp-corner {
  display: none;
}

.lcp-portal-shell .lcp-login-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  padding: 54px 48px;
  overflow: hidden;
  border: 0;
  background: #121210;
}

.lcp-portal-shell .lcp-login-copy::before {
  content: "AB";
  position: absolute;
  top: 46px;
  left: 48px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(216, 172, 101, .72);
  border-radius: 15px;
  color: #d8ac65;
  font-family: "Playfair Display", serif;
  font-size: 18px;
}

.lcp-portal-shell .lcp-login-copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(216, 172, 101, .25);
}

.lcp-portal-shell .lcp-login-copy .lcp-eyebrow {
  color: #ddb572;
}

.lcp-portal-shell .lcp-login-copy h1 {
  max-width: 360px;
  margin: 0 0 17px !important;
  color: #fff;
  font-size: clamp(40px, 4.1vw, 55px) !important;
  font-weight: 600;
  letter-spacing: -.035em;
}

.lcp-portal-shell .lcp-login-intro {
  max-width: 370px;
  margin: 0;
  color: #c7c4bc;
  font-size: 15px !important;
  line-height: 1.7;
}

.lcp-portal-shell .lcp-login-action {
  align-self: stretch;
  padding: 54px 56px;
  background: #fff;
}

.lcp-portal-shell .lcp-login-form {
  text-align: left;
}

.lcp-portal-shell .lcp-login-fields,
.lcp-portal-shell .lcp-login-fields-four {
  gap: 18px;
}

.lcp-portal-shell .lcp-field label,
.lcp-portal-shell .lcp-login-form > label:not(.lcp-check),
.lcp-portal-shell .lcp-message-form label,
.lcp-portal-shell .lcp-upload-form label,
.lcp-portal-shell .lcp-portal-edit-form label {
  margin-bottom: 8px;
  color: #4a4842;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .025em;
}

.lcp-portal-shell .lcp-login-form .lcp-field input,
.lcp-portal-shell .lcp-login-form input[type="email"],
.lcp-portal-shell .lcp-signature-form input[type="text"],
.lcp-portal-shell .lcp-quick-form input,
.lcp-portal-shell .lcp-quick-form select,
.lcp-portal-shell .lcp-quick-form textarea,
.lcp-portal-shell .lcp-portal-edit-form input,
.lcp-portal-shell .lcp-portal-edit-form select,
.lcp-portal-shell .lcp-portal-edit-form textarea,
.lcp-portal-shell .lcp-message-form textarea,
.lcp-portal-shell .lcp-upload-form input[type="file"],
.lcp-portal-shell .lcp-upload-form select {
  border: 1px solid #d9d5ce;
  border-radius: 12px;
  background: #fbfaf8;
  color: var(--lcp-2026-ink);
  box-shadow: inset 0 1px 1px rgba(22, 20, 16, .018);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.lcp-portal-shell .lcp-login-form .lcp-field input {
  min-height: 52px;
  padding: 13px 15px;
  font-size: 14.5px !important;
}

.lcp-portal-shell :where(input, select, textarea):focus {
  border-color: #b8873c !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(173, 123, 47, .105) !important;
}

.lcp-portal-shell .lcp-password-toggle {
  top: 10px;
  right: 10px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--lcp-2026-gold-deep);
  font-size: 11px !important;
}

.lcp-portal-shell .lcp-password-toggle:hover {
  background: var(--lcp-2026-gold-soft);
}

.lcp-portal-shell .lcp-login-actions {
  margin-top: 24px;
}

.lcp-portal-shell .lcp-check {
  color: #66635c;
}

.lcp-portal-shell .lcp-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--lcp-2026-gold);
}

.lcp-portal-shell .lcp-login-actions .lcp-primary-btn {
  min-width: 220px;
}

.lcp-portal-shell button.lcp-primary-btn,
.lcp-portal-shell .lcp-primary-btn,
.lcp-portal-shell button.lcp-secondary-btn,
.lcp-portal-shell .lcp-secondary-btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 750;
  letter-spacing: .01em;
  box-shadow: none !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.lcp-portal-shell button.lcp-primary-btn,
.lcp-portal-shell .lcp-primary-btn {
  border-color: var(--lcp-2026-gold) !important;
  background: var(--lcp-2026-gold) !important;
  color: #fff !important;
}

.lcp-portal-shell button.lcp-primary-btn:hover,
.lcp-portal-shell button.lcp-primary-btn:focus,
.lcp-portal-shell .lcp-primary-btn:hover,
.lcp-portal-shell .lcp-primary-btn:focus {
  border-color: #171714 !important;
  background: #171714 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(23, 23, 20, .14) !important;
  transform: translateY(-1px);
}

.lcp-portal-shell button.lcp-secondary-btn,
.lcp-portal-shell .lcp-secondary-btn {
  border-color: #c7a46c !important;
  background: #fff !important;
  color: var(--lcp-2026-gold-deep) !important;
}

.lcp-portal-shell button.lcp-secondary-btn:hover,
.lcp-portal-shell button.lcp-secondary-btn:focus,
.lcp-portal-shell .lcp-secondary-btn:hover,
.lcp-portal-shell .lcp-secondary-btn:focus {
  border-color: #171714 !important;
  background: #171714 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.lcp-portal-shell .lcp-login-help {
  margin-top: 22px;
  color: #807d75;
  font-size: 12px !important;
  line-height: 1.75;
  text-align: right;
}

.lcp-portal-shell .lcp-login-help a {
  color: var(--lcp-2026-gold-deep) !important;
  font-weight: 700;
  text-underline-offset: 3px;
}

.lcp-portal-shell .lcp-login-help a[href*="lcp_view=first"] {
  min-height: 34px;
  padding: 6px 12px;
  border-color: #c59a58;
  border-radius: 10px;
  background: #fbf6ed;
  color: var(--lcp-2026-gold-deep) !important;
  box-shadow: none;
}

.lcp-portal-shell .lcp-login-help a[href*="lcp_view=first"]:hover,
.lcp-portal-shell .lcp-login-help a[href*="lcp_view=first"]:focus {
  background: var(--lcp-2026-gold);
  color: #fff !important;
}

.lcp-portal-shell .lcp-gdpr-check {
  margin: 20px 0 4px !important;
  padding: 14px 15px;
  border: 1px solid #dfd2bd;
  border-radius: 12px;
  background: #fbf7ef;
}

/* Mesaje de sistem */
.lcp-portal-shell .lcp-notice {
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 14px 17px;
  border: 1px solid #dfd1b9;
  border-left: 4px solid var(--lcp-2026-gold);
  border-radius: 12px;
  background: #fffaf1;
  color: #60461c;
  font-size: 13px !important;
  box-shadow: var(--lcp-2026-shadow-sm);
}

.lcp-portal-shell .lcp-notice-error {
  border-color: #edcccc;
  border-left-color: var(--lcp-2026-danger);
  background: #fff7f7;
  color: #842f2f;
}

/* Dashboard și carduri */
.lcp-portal-shell .lcp-welcome {
  align-items: center;
  margin-top: 30px;
  padding: 34px 38px;
  border: 1px solid var(--lcp-2026-line);
  border-radius: 20px;
  background: var(--lcp-2026-paper);
  box-shadow: var(--lcp-2026-shadow-sm);
}

.lcp-portal-shell .lcp-eyebrow,
.lcp-portal-shell .lcp-section-label,
.lcp-portal-shell .lcp-panel-head span,
.lcp-portal-shell .lcp-overview-card > span {
  color: var(--lcp-2026-gold-deep);
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .16em;
}

.lcp-portal-shell .lcp-welcome h1,
.lcp-portal-shell .lcp-case-hero h1,
.lcp-portal-shell .lcp-calendar-hero h1 {
  color: var(--lcp-2026-ink);
  font-weight: 600;
  letter-spacing: -.035em;
}

.lcp-portal-shell .lcp-welcome h1 {
  margin-top: 3px;
  margin-bottom: 9px;
  font-size: clamp(36px, 4vw, 50px);
}

.lcp-portal-shell .lcp-welcome p {
  max-width: 780px;
  color: var(--lcp-2026-muted);
  font-size: 15px !important;
  line-height: 1.65;
}

.lcp-portal-shell .lcp-calendar-quick {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #c9a66f;
  border-radius: 12px;
  background: #fff;
  color: var(--lcp-2026-gold-deep) !important;
  font-size: 11.5px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.lcp-portal-shell .lcp-calendar-quick:hover,
.lcp-portal-shell .lcp-calendar-quick:focus {
  border-color: var(--lcp-2026-ink);
  background: var(--lcp-2026-ink);
  color: #fff !important;
}

.lcp-portal-shell .lcp-section {
  padding: 38px 0 16px;
}

.lcp-portal-shell .lcp-section-heading {
  align-items: center;
  margin-bottom: 20px;
}

.lcp-portal-shell .lcp-section-heading h2,
.lcp-portal-shell .lcp-panel h2 {
  color: var(--lcp-2026-ink);
  font-weight: 600;
  letter-spacing: -.025em;
}

.lcp-portal-shell .lcp-section-heading h2 {
  font-size: 31px !important;
}

.lcp-portal-shell .lcp-count {
  width: auto;
  min-width: 38px;
  height: 32px;
  padding: 0 11px;
  border-color: var(--lcp-2026-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--lcp-2026-gold-deep);
  font-size: 12px;
}

.lcp-portal-shell .lcp-case-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.lcp-portal-shell .lcp-case-card {
  min-height: 218px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--lcp-2026-line);
  border-radius: 18px;
  background: var(--lcp-2026-paper);
  box-shadow: var(--lcp-2026-shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.lcp-portal-shell .lcp-case-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: #c99b56;
  opacity: .8;
}

.lcp-portal-shell .lcp-case-card:hover,
.lcp-portal-shell .lcp-case-card:focus {
  border-color: #c9ad82;
  box-shadow: 0 18px 40px rgba(42, 35, 24, .105);
  transform: translateY(-3px);
}

.lcp-portal-shell .lcp-case-number {
  margin: 4px 118px 11px 0;
  color: var(--lcp-2026-gold-deep);
  font-size: 11px !important;
  letter-spacing: .1em;
}

.lcp-portal-shell .lcp-case-card .lcp-status {
  top: 20px;
  right: 20px;
}

.lcp-portal-shell .lcp-status {
  padding: 7px 10px;
  border: 1px solid #e5d7bf;
  border-radius: 999px;
  background: #f8f1e5;
  color: #76511e;
  font-size: 9.5px !important;
  letter-spacing: .06em;
}

.lcp-portal-shell .lcp-status-closed {
  border-color: #d9e7db;
  background: #eff6f0;
  color: #3f6744;
}

.lcp-portal-shell .lcp-status-waiting {
  border-color: #e5e2dc;
  background: #f5f3ef;
  color: #6f6a61;
}

.lcp-portal-shell .lcp-status-hearing {
  border-color: #d5e1e9;
  background: #eef4f8;
  color: #315e79;
}

.lcp-portal-shell .lcp-case-client {
  margin: 0 0 7px;
  color: #8a7658;
}

.lcp-portal-shell .lcp-case-card h3 {
  margin: 7px 0 7px !important;
  color: var(--lcp-2026-ink);
  font-size: 23px !important;
  font-weight: 600;
  letter-spacing: -.02em;
}

.lcp-portal-shell .lcp-case-card p {
  margin-bottom: 14px;
  color: var(--lcp-2026-muted);
  font-size: 13px !important;
  line-height: 1.55;
}

.lcp-portal-shell .lcp-hearing-mini {
  margin: 3px 0 14px;
  padding: 11px 13px;
  border: 1px solid #eadcc5;
  border-left: 3px solid #c28c3a;
  border-radius: 10px;
  background: #fcf7ef;
}

.lcp-portal-shell .lcp-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--lcp-2026-gold-deep);
  font-size: 12px !important;
}

.lcp-portal-shell .lcp-unread-badge {
  top: 11px;
  right: 11px;
  min-width: 27px;
  height: 27px;
  border-width: 2px;
  box-shadow: 0 7px 18px rgba(145, 25, 25, .22);
}

.lcp-portal-shell .lcp-case-card.has-unread .lcp-status {
  right: 46px;
}

.lcp-portal-shell .lcp-empty {
  padding: 44px 28px;
  border: 1px dashed #d5c7af;
  border-radius: 18px;
  background: #fbfaf7;
}

/* Instrumente de administrare din portal */
.lcp-portal-shell .lcp-creation-tools,
.lcp-portal-shell .lcp-admin-editor {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--lcp-2026-line);
  border-radius: var(--lcp-2026-radius);
  background: #fff;
  box-shadow: var(--lcp-2026-shadow-sm);
}

.lcp-portal-shell .lcp-creation-tools > summary,
.lcp-portal-shell .lcp-admin-editor summary {
  min-height: 58px;
  padding: 15px 19px;
  background: #fff;
}

.lcp-portal-shell .lcp-creation-tools > summary:hover,
.lcp-portal-shell .lcp-admin-editor summary:hover {
  background: #fbfaf7;
}

.lcp-portal-shell .lcp-creation-tools > summary b,
.lcp-portal-shell .lcp-admin-editor summary b {
  color: var(--lcp-2026-gold-deep);
}

.lcp-portal-shell .lcp-creation-tools > summary strong,
.lcp-portal-shell .lcp-admin-editor summary strong {
  color: var(--lcp-2026-gold-deep);
}

.lcp-portal-shell .lcp-creation-grid {
  gap: 14px;
  padding: 14px;
  border-top: 1px solid var(--lcp-2026-line);
  background: var(--lcp-2026-surface);
}

.lcp-portal-shell .lcp-create-card {
  padding: 23px;
  border: 1px solid var(--lcp-2026-line);
  border-radius: 14px;
  background: #fff;
}

.lcp-portal-shell .lcp-portal-edit-form {
  padding: 24px;
  border-top-color: var(--lcp-2026-line);
  background: var(--lcp-2026-surface);
}

.lcp-portal-shell .lcp-quick-form input,
.lcp-portal-shell .lcp-quick-form select,
.lcp-portal-shell .lcp-portal-edit-form input,
.lcp-portal-shell .lcp-portal-edit-form select {
  min-height: 46px;
  padding: 10px 12px;
}

.lcp-portal-shell .lcp-quick-form textarea,
.lcp-portal-shell .lcp-portal-edit-form textarea {
  padding: 11px 12px;
}

/* Pagina unui dosar */
.lcp-portal-shell .lcp-back {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 38px;
  margin-top: 24px;
  margin-right: max(32px, calc((100% - 1380px) / 2));
  margin-bottom: 14px;
  margin-left: max(32px, calc((100% - 1380px) / 2));
  padding: 0 12px;
  border: 1px solid #d9c9b0;
  border-radius: 999px;
  background: #fff;
  color: var(--lcp-2026-gold-deep) !important;
  font-size: 11.5px !important;
  box-shadow: var(--lcp-2026-shadow-sm);
}

.lcp-portal-shell .lcp-back:hover,
.lcp-portal-shell .lcp-back:focus {
  border-color: var(--lcp-2026-ink);
  background: var(--lcp-2026-ink);
  color: #fff !important;
}

.lcp-portal-shell .lcp-case-hero {
  align-items: center;
  padding: 29px 32px;
  border: 1px solid var(--lcp-2026-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--lcp-2026-shadow-sm);
}

.lcp-portal-shell .lcp-case-hero h1 {
  margin: 2px 0 0;
  font-size: clamp(31px, 3.2vw, 44px);
}

.lcp-portal-shell .lcp-case-hero .lcp-case-number {
  margin-right: 0;
  margin-bottom: 5px;
}

.lcp-portal-shell .lcp-overview-grid,
.lcp-portal-shell .lcp-overview-grid.lcp-overview-four {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 16px;
  border: 0;
  background: transparent;
}

.lcp-portal-shell .lcp-overview-card {
  min-height: 112px;
  padding: 19px 20px;
  border: 1px solid var(--lcp-2026-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--lcp-2026-shadow-sm);
}

.lcp-portal-shell .lcp-overview-card strong {
  color: var(--lcp-2026-ink-soft);
  font-size: 14px !important;
  line-height: 1.5;
}

.lcp-portal-shell .lcp-hearing-card {
  border-color: #dfcfb4;
  background: #fffaf2;
}

.lcp-portal-shell .lcp-content-grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, .78fr);
  gap: 18px;
  margin-top: 18px;
}

.lcp-portal-shell .lcp-panel {
  padding: 22px;
  border: 1px solid var(--lcp-2026-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--lcp-2026-shadow-sm);
}

.lcp-portal-shell .lcp-panel-head {
  padding-bottom: 15px;
  border-bottom: 1px solid #ece9e3;
}

.lcp-portal-shell .lcp-panel h2 {
  font-size: 25px !important;
}

/* Chat */
.lcp-portal-shell .lcp-thread {
  gap: 10px;
  max-height: 500px;
  margin: 0 -6px;
  padding: 18px 8px;
  scroll-behavior: smooth;
}

.lcp-portal-shell .lcp-message {
  max-width: min(84%, 720px);
  padding: 12px 15px;
  border: 1px solid #e5e2dc;
  border-left: 1px solid #e5e2dc;
  border-radius: 16px 16px 16px 5px;
  background: #f7f6f3;
  box-shadow: 0 5px 14px rgba(38, 34, 27, .035);
}

.lcp-portal-shell .lcp-message-mine {
  border-color: #ead9bd;
  border-radius: 16px 16px 5px 16px;
  background: #fcf5e9;
}

.lcp-portal-shell .lcp-message-meta {
  margin-bottom: 6px;
  color: #8a867d;
  font-size: 10.5px !important;
}

.lcp-portal-shell .lcp-message-meta strong {
  color: #555149;
}

.lcp-portal-shell .lcp-message p {
  color: #34332f;
  font-size: 13.5px !important;
  line-height: 1.58;
}

.lcp-portal-shell .lcp-message-form {
  gap: 10px;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid #e9e5de;
  border-radius: 16px;
  background: #faf9f6;
}

.lcp-portal-shell .lcp-message-form textarea {
  height: 86px;
  min-height: 86px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #fff;
  font-size: 14px !important;
  resize: vertical;
}

.lcp-portal-shell .lcp-message-form .lcp-primary-btn {
  min-width: 150px;
}

/* Documente */
.lcp-portal-shell .lcp-checklist {
  margin: 17px 0 4px;
  padding: 16px;
  border: 1px solid #e8e2d7;
  border-radius: 14px;
  background: #faf8f3;
}

.lcp-portal-shell .lcp-checklist h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.lcp-portal-shell .lcp-checklist-item {
  gap: 11px;
  padding: 10px 0;
  border-top-color: #e8e2d7;
}

.lcp-portal-shell .lcp-checkmark {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border-color: #ccb993;
  background: #fff;
}

.lcp-portal-shell .lcp-file-list {
  gap: 9px;
  padding: 18px 0;
}

.lcp-portal-shell .lcp-file {
  gap: 11px;
  padding: 11px 12px !important;
  border: 1px solid #e5e1da;
  border-radius: 13px;
  background: #fff;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.lcp-portal-shell .lcp-file:hover {
  border-color: #cfb58b;
  background: #fdfaf4;
  box-shadow: 0 8px 20px rgba(44, 36, 24, .055);
}

.lcp-portal-shell .lcp-file-download {
  gap: 11px;
}

.lcp-portal-shell .lcp-file-icon {
  width: 37px;
  height: 37px;
  flex-basis: 37px;
  border-color: #d8c5a6;
  border-radius: 10px;
  background: #fbf6ed;
  color: var(--lcp-2026-gold-deep);
}

.lcp-portal-shell .lcp-file strong {
  color: #383631;
  font-size: 12.5px !important;
}

.lcp-portal-shell .lcp-file small {
  color: #8a867e;
  font-size: 10.5px !important;
  line-height: 1.45;
}

.lcp-portal-shell .lcp-file-delete {
  min-height: 34px;
  padding: 0 11px !important;
  border-color: #e2c6c6 !important;
  border-radius: 9px !important;
  color: #943838 !important;
}

.lcp-portal-shell .lcp-request-signature-btn,
.lcp-portal-shell .lcp-file-sign-state {
  min-height: 34px;
  padding: 0 10px !important;
  border-radius: 9px;
}

.lcp-portal-shell .lcp-upload-form {
  padding: 17px;
  border: 1px dashed #d6c5a9;
  border-radius: 15px;
  background: #fbfaf7;
}

.lcp-portal-shell .lcp-upload-form input[type="file"] {
  min-height: 49px;
  margin-bottom: 17px;
  padding: 6px;
  background: #fff;
  font-size: 12px !important;
}

.lcp-portal-shell .lcp-upload-form input[type="file"]::file-selector-button {
  min-height: 35px;
  margin-right: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: #eee9df;
  color: #49453e;
  font: 700 11px/1 "Raleway", sans-serif;
  cursor: pointer;
}

.lcp-portal-shell .lcp-upload-form small {
  margin: -7px 0 14px;
}

.lcp-portal-shell .lcp-sign-on-upload {
  border-radius: 11px;
}

/* Confirmări și semnătură */
.lcp-portal-shell .lcp-signature-stream {
  gap: 10px;
}

.lcp-portal-shell .lcp-signature-message {
  padding: 17px;
  border: 1px solid #a9c9b0;
  border-left: 4px solid #3d8a55;
  border-radius: 15px;
  background: var(--lcp-2026-success-soft);
  box-shadow: 0 10px 24px rgba(31, 94, 50, .06);
}

.lcp-portal-shell .lcp-signature-message.is-signed {
  background: #f3f9f4;
}

.lcp-portal-shell .lcp-signature-message h3 {
  font-size: 19px;
  font-weight: 600;
}

.lcp-portal-shell .lcp-signature-message .lcp-document-link {
  border-radius: 9px;
}

.lcp-portal-shell .lcp-signature-pad {
  padding: 12px;
  border-radius: 12px;
  background: #f8fbf8;
}

.lcp-portal-shell .lcp-signature-pad-head button {
  min-height: 30px;
  padding: 0 9px;
  border-radius: 8px;
}

.lcp-portal-shell .lcp-signature-pad canvas {
  border-radius: 9px;
}

.lcp-portal-shell .lcp-confirm-btn {
  min-height: 49px;
  border-radius: 12px !important;
  background: var(--lcp-2026-success) !important;
}

.lcp-portal-shell .lcp-signed-signature {
  border-radius: 10px;
}

/* Calendar */
.lcp-portal-shell .lcp-calendar-hero {
  align-items: center;
  margin-top: 28px;
  margin-bottom: 17px;
  padding: 30px 32px;
  border: 1px solid var(--lcp-2026-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--lcp-2026-shadow-sm);
}

.lcp-portal-shell .lcp-calendar-hero h1 {
  font-size: clamp(34px, 4vw, 46px);
}

.lcp-portal-shell .lcp-calendar-hero p {
  color: var(--lcp-2026-muted);
}

.lcp-portal-shell .lcp-calendar-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-color: #c9a66f;
  border-radius: 10px;
  background: #fff;
  color: var(--lcp-2026-gold-deep) !important;
}

.lcp-portal-shell .lcp-calendar-actions a:hover,
.lcp-portal-shell .lcp-calendar-actions a:focus {
  border-color: var(--lcp-2026-ink);
  background: var(--lcp-2026-ink);
  color: #fff !important;
}

.lcp-portal-shell .lcp-calendar-layout {
  gap: 18px;
}

.lcp-portal-shell .lcp-calendar-main,
.lcp-portal-shell .lcp-calendar-upcoming {
  overflow: hidden;
  border: 1px solid var(--lcp-2026-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--lcp-2026-shadow-sm);
}

.lcp-portal-shell .lcp-calendar-toolbar {
  min-height: 68px;
  padding: 14px 18px;
  border-bottom-color: var(--lcp-2026-line);
}

.lcp-portal-shell .lcp-calendar-toolbar h2 {
  font-size: 25px;
  font-weight: 600;
}

.lcp-portal-shell .lcp-calendar-toolbar a {
  width: 38px;
  height: 38px;
  border-color: #dbc9ac;
  border-radius: 10px;
}

.lcp-portal-shell .lcp-calendar-toolbar a:hover,
.lcp-portal-shell .lcp-calendar-toolbar a:focus {
  border-color: var(--lcp-2026-ink);
  background: var(--lcp-2026-ink);
  color: #fff !important;
}

.lcp-portal-shell .lcp-calendar-week {
  padding: 10px 7px;
  border-color: #ece8e1;
  background: #f8f7f4;
  color: #716b61;
}

.lcp-portal-shell .lcp-calendar-day {
  min-height: 120px;
  padding: 10px;
  border-color: #ece8e1;
}

.lcp-portal-shell .lcp-calendar-day.is-empty {
  background: #faf9f7;
}

.lcp-portal-shell .lcp-calendar-day.is-today {
  background: #fff9ed;
  box-shadow: inset 0 0 0 1px #dfbc82;
}

.lcp-portal-shell .lcp-calendar-event {
  padding: 8px;
  border-left-color: #b77c29;
  border-radius: 7px;
  background: #f9f1e4;
}

.lcp-portal-shell .lcp-calendar-upcoming {
  padding: 21px;
}

.lcp-portal-shell .lcp-calendar-upcoming article {
  padding: 15px 0;
  border-bottom-color: #ebe7df;
}

/* Antetul din meniul principal al site-ului */
.lcp-portal-shell .lcp-header-link,
.lcp-header-link.lcp-portal-nav-link,
a.lcp-portal-nav-link {
  border-radius: 999px;
}

/* Adaptare */
@media (max-width: 1180px) {
  .lcp-portal-shell .lcp-content-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .lcp-portal-shell .lcp-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .lcp-portal-shell .lcp-login-card {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
  }

  .lcp-portal-shell .lcp-login-copy {
    min-height: 285px;
    padding: 108px 40px 36px;
  }

  .lcp-portal-shell .lcp-login-copy::before {
    top: 34px;
    left: 40px;
  }

  .lcp-portal-shell .lcp-login-copy::after {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 1px;
  }

  .lcp-portal-shell .lcp-login-action {
    padding: 40px;
  }

  .lcp-portal-shell .lcp-content-grid,
  .lcp-portal-shell .lcp-calendar-layout {
    grid-template-columns: 1fr;
  }

  .lcp-portal-shell .lcp-portal-admin-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .lcp-portal-shell .lcp-dashboard {
    padding-bottom: 44px;
  }

  .lcp-portal-shell .lcp-welcome,
  .lcp-portal-shell .lcp-section,
  .lcp-portal-shell .lcp-case-hero,
  .lcp-portal-shell .lcp-overview-grid,
  .lcp-portal-shell .lcp-content-grid,
  .lcp-portal-shell .lcp-notice,
  .lcp-portal-shell .lcp-admin-editor,
  .lcp-portal-shell .lcp-calendar-hero,
  .lcp-portal-shell .lcp-calendar-layout,
  .lcp-portal-shell .lcp-creation-tools {
    width: calc(100% - 28px);
  }

  .lcp-portal-shell .lcp-portal-header {
    min-height: 62px;
    padding: 10px 14px;
    gap: 8px;
  }

  .lcp-portal-shell .lcp-brand > span {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .lcp-portal-shell .lcp-brand strong {
    font-size: 15px !important;
  }

  .lcp-portal-shell .lcp-user-menu > span {
    display: none;
  }

  .lcp-portal-shell .lcp-user-menu a {
    min-height: 34px;
    padding: 0 10px;
  }

  .lcp-portal-shell .lcp-language-switch-header {
    margin-left: auto;
  }

  .lcp-portal-shell .lcp-language-switch-header .lcp-language-caption,
  .lcp-portal-shell .lcp-language-switch-login .lcp-language-caption {
    display: none;
  }

  .lcp-portal-shell .lcp-language-switch a {
    min-width: 38px;
    min-height: 29px;
    padding: 0 7px;
    font-size: 10px;
  }

  .lcp-portal-shell .lcp-login-page {
    min-height: auto;
    padding: 18px 12px 28px;
  }

  .lcp-portal-shell .lcp-login-card {
    display: block;
    border-radius: 18px;
  }

  .lcp-portal-shell .lcp-language-switch-login {
    top: 24px;
    right: 20px;
    border-color: rgba(216, 172, 101, .56);
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
  }

  .lcp-portal-shell .lcp-language-switch-login a {
    color: #eee7db !important;
  }

  .lcp-portal-shell .lcp-login-copy {
    min-height: 250px;
    margin: 0;
    padding: 94px 25px 27px;
  }

  .lcp-portal-shell .lcp-login-copy::before {
    top: 26px;
    left: 25px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .lcp-portal-shell .lcp-login-copy h1 {
    font-size: 36px !important;
  }

  .lcp-portal-shell .lcp-login-intro {
    font-size: 13.5px !important;
    line-height: 1.6;
  }

  .lcp-portal-shell .lcp-login-action {
    padding: 27px 22px 25px;
  }

  .lcp-portal-shell .lcp-login-fields,
  .lcp-portal-shell .lcp-login-fields-four {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lcp-portal-shell .lcp-login-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .lcp-portal-shell .lcp-login-actions .lcp-primary-btn {
    width: 100%;
  }

  .lcp-portal-shell .lcp-login-help {
    text-align: left;
  }

  .lcp-portal-shell .lcp-welcome {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
    padding: 25px 22px;
    border-radius: 16px;
  }

  .lcp-portal-shell .lcp-welcome h1 {
    font-size: 36px;
  }

  .lcp-portal-shell .lcp-welcome p {
    font-size: 14px !important;
  }

  .lcp-portal-shell .lcp-calendar-quick {
    width: 100%;
    justify-content: center;
  }

  .lcp-portal-shell .lcp-section {
    padding-top: 27px;
  }

  .lcp-portal-shell .lcp-section-heading h2 {
    font-size: 27px !important;
  }

  .lcp-portal-shell .lcp-case-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .lcp-portal-shell .lcp-case-card {
    min-height: 205px;
    padding: 21px;
    border-radius: 16px;
  }

  .lcp-portal-shell .lcp-case-card h3 {
    font-size: 22px !important;
  }

  .lcp-portal-shell .lcp-back {
    margin-top: 15px;
    margin-right: 14px;
    margin-bottom: 12px;
    margin-left: 14px;
  }

  .lcp-portal-shell .lcp-case-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    padding: 23px 21px;
    border-radius: 16px;
  }

  .lcp-portal-shell .lcp-case-hero h1 {
    font-size: 32px;
  }

  .lcp-portal-shell .lcp-overview-grid,
  .lcp-portal-shell .lcp-overview-grid.lcp-overview-four {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .lcp-portal-shell .lcp-overview-card {
    min-height: auto;
    padding: 16px 17px;
  }

  .lcp-portal-shell .lcp-panel {
    padding: 17px;
    border-radius: 16px;
  }

  .lcp-portal-shell .lcp-panel h2 {
    font-size: 23px !important;
  }

  .lcp-portal-shell .lcp-thread {
    max-height: 450px;
    padding: 15px 3px;
  }

  .lcp-portal-shell .lcp-message {
    max-width: 94%;
    padding: 11px 13px;
  }

  .lcp-portal-shell .lcp-message-form {
    display: block;
    padding: 12px;
  }

  .lcp-portal-shell .lcp-message-form textarea {
    width: 100%;
    margin-bottom: 10px !important;
  }

  .lcp-portal-shell .lcp-message-form .lcp-primary-btn {
    width: 100%;
  }

  .lcp-portal-shell .lcp-file {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .lcp-portal-shell .lcp-file-download {
    flex-basis: 100%;
  }

  .lcp-portal-shell .lcp-file-delete-form,
  .lcp-portal-shell .lcp-request-signature-form,
  .lcp-portal-shell .lcp-file-sign-state {
    margin-left: 48px;
  }

  .lcp-portal-shell .lcp-request-signature-btn,
  .lcp-portal-shell .lcp-file-sign-state {
    white-space: normal;
  }

  .lcp-portal-shell .lcp-upload-form {
    padding: 14px;
  }

  .lcp-portal-shell .lcp-confirm-btn {
    width: 100%;
    min-width: 0;
  }

  .lcp-portal-shell .lcp-creation-tools > summary,
  .lcp-portal-shell .lcp-admin-editor summary,
  .lcp-portal-shell .lcp-calendar-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .lcp-portal-shell .lcp-creation-grid,
  .lcp-portal-shell .lcp-edit-grid,
  .lcp-portal-shell .lcp-quick-form-grid {
    grid-template-columns: 1fr;
  }

  .lcp-portal-shell .lcp-edit-span-2,
  .lcp-portal-shell .lcp-quick-span-2 {
    grid-column: auto;
  }

  .lcp-portal-shell .lcp-create-card,
  .lcp-portal-shell .lcp-portal-edit-form {
    padding: 17px;
  }

  .lcp-portal-shell .lcp-calendar-hero {
    margin-top: 15px;
    padding: 24px 21px;
  }

  .lcp-portal-shell .lcp-calendar-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .lcp-portal-shell .lcp-calendar-actions a {
    justify-content: center;
  }

  .lcp-portal-shell .lcp-calendar-grid {
    display: block;
  }

  .lcp-portal-shell .lcp-calendar-week,
  .lcp-portal-shell .lcp-calendar-day.is-empty {
    display: none;
  }

  .lcp-portal-shell .lcp-calendar-day {
    min-height: 54px;
    padding: 12px;
    border-right: 0;
  }

  .lcp-portal-shell .lcp-calendar-day:not(:has(.lcp-calendar-event)) {
    display: none;
  }
}

@media (max-width: 390px) {
  .lcp-portal-shell .lcp-portal-header .lcp-brand strong {
    display: none;
  }

  .lcp-portal-shell .lcp-language-switch-header a {
    min-width: 34px;
    padding: 0 5px;
  }

  .lcp-portal-shell .lcp-brand strong {
    max-width: 105px;
    line-height: 1.05;
  }

  .lcp-portal-shell .lcp-login-copy,
  .lcp-portal-shell .lcp-login-action {
    padding-right: 19px;
    padding-left: 19px;
  }

  .lcp-portal-shell .lcp-login-copy::before {
    left: 19px;
  }

  .lcp-portal-shell .lcp-case-number {
    margin-right: 98px;
  }
}

/* Agenda: zi selectată și detalii complete, inclusiv oficii SAJ. */
.lcp-portal-shell .lcp-calendar-day[data-lcp-calendar-day] {
  cursor: pointer;
}

.lcp-portal-shell .lcp-calendar-day.is-selected {
  background: #fff5e3;
  box-shadow: inset 0 0 0 2px #c49448;
}

.lcp-portal-shell a.lcp-calendar-date {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 40px;
  margin: -4px 0 3px;
  border-radius: 9px;
  color: #514638 !important;
  font-size: 14px;
  text-decoration: none !important;
}

.lcp-portal-shell a.lcp-calendar-date[aria-current="date"] {
  background: #c49448;
  color: #111 !important;
}

.lcp-portal-shell a.lcp-calendar-date:focus-visible {
  outline: 2px solid #73521f;
  outline-offset: 2px;
}

.lcp-portal-shell .lcp-calendar-selected {
  padding: 24px;
  border-top: 1px solid #e4ded3;
  background: #fcfbf8;
  scroll-margin-top: 24px;
}

.lcp-portal-shell .lcp-calendar-selected [hidden] {
  display: none !important;
}

.lcp-portal-shell .lcp-calendar-detail-card {
  padding: 22px;
  margin-top: 15px;
  border: 1px solid #e5ddd0;
  border-radius: 14px;
  background: #fff;
  color: #26231e;
  overflow-wrap: anywhere;
}

.lcp-portal-shell .lcp-calendar-detail-card h3 {
  margin: 8px 0 18px;
  color: #171511 !important;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.3;
}

.lcp-portal-shell .lcp-calendar-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  padding: 0;
  margin: 0;
}

.lcp-portal-shell .lcp-calendar-detail-list dt {
  margin: 0 0 4px;
  color: #70665a;
  font-size: 11px;
  font-weight: 600;
}

.lcp-portal-shell .lcp-calendar-detail-list dd {
  margin: 0;
  color: #26231e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.lcp-portal-shell .lcp-calendar-detail-notes {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee8df;
  color: #39332a;
  font-size: 13px;
  line-height: 1.7;
}

.lcp-portal-shell .lcp-calendar-detail-notes p {
  margin: 6px 0 18px;
  color: inherit;
}

@media (max-width: 720px) {
  .lcp-portal-shell .lcp-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .lcp-portal-shell .lcp-calendar-week {
    display: block;
    overflow: hidden;
    padding: 8px 2px;
    font-size: 8px;
  }

  .lcp-portal-shell .lcp-calendar-day,
  .lcp-portal-shell .lcp-calendar-day.is-empty,
  .lcp-portal-shell .lcp-calendar-day:not(:has(.lcp-calendar-event)) {
    display: block;
    min-height: 58px;
    padding: 3px 2px 10px;
    border-right: 1px solid #ece8e1;
  }

  .lcp-portal-shell a.lcp-calendar-date {
    width: 100%;
    min-height: 44px;
    margin: 0;
    font-size: 13px;
  }

  .lcp-portal-shell .lcp-calendar-grid .lcp-calendar-event {
    display: none;
  }

  .lcp-portal-shell .lcp-calendar-day.has-events::after {
    position: absolute;
    bottom: 5px;
    left: calc(50% - 3px);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8e6426;
    content: "";
  }

  .lcp-portal-shell .lcp-calendar-selected {
    padding: 18px 12px;
  }

  .lcp-portal-shell .lcp-calendar-detail-card {
    padding: 18px 14px;
  }

  .lcp-portal-shell .lcp-calendar-detail-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lcp-portal-shell *,
  .lcp-portal-shell *::before,
  .lcp-portal-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Agenda administrativă: evenimente create manual */
.lcp-portal-shell .lcp-calendar-actions a.is-primary {
  border-color: #b4863e;
  background: #b4863e;
  color: #fff !important;
}

.lcp-portal-shell .lcp-calendar-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.lcp-portal-shell .lcp-calendar-form-card {
  scroll-margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(180, 134, 62, .38);
  background: #fff;
  box-shadow: 0 15px 40px rgba(23, 18, 10, .055);
}

.lcp-portal-shell .lcp-calendar-form-card form {
  display: grid;
  gap: 12px;
}

.lcp-portal-shell .lcp-calendar-form-card label {
  display: grid;
  gap: 6px;
  color: #332d25;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .025em;
}

.lcp-portal-shell .lcp-calendar-form-card label small {
  color: #8c8479;
  font-weight: 500;
}

.lcp-portal-shell .lcp-calendar-form-card input,
.lcp-portal-shell .lcp-calendar-form-card select,
.lcp-portal-shell .lcp-calendar-form-card textarea {
  width: 100%;
  min-height: 43px;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #ddd4c7;
  border-radius: 6px;
  background: #fff;
  color: #171512;
  font: inherit;
  font-weight: 500;
}

.lcp-portal-shell .lcp-calendar-form-card textarea {
  min-height: 76px;
  resize: vertical;
}

.lcp-portal-shell .lcp-calendar-form-card input:focus,
.lcp-portal-shell .lcp-calendar-form-card select:focus,
.lcp-portal-shell .lcp-calendar-form-card textarea:focus {
  outline: 2px solid rgba(180, 134, 62, .2);
  border-color: #b4863e;
}

.lcp-portal-shell .lcp-calendar-form-card button {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #15130f;
  border-radius: 6px;
  background: #15130f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
}

.lcp-portal-shell .lcp-calendar-event.is-custom {
  border-left-color: #577162;
  background: #f0f6f2;
}

.lcp-portal-shell .lcp-calendar-event strong {
  display: block;
  margin: 2px 0;
  color: #222;
  font-size: 10.5px;
  line-height: 1.3;
}

.lcp-portal-shell .lcp-calendar-upcoming article div form {
  display: inline;
  margin: 0;
}

.lcp-portal-shell .lcp-calendar-upcoming article div form button {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a14242;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .lcp-portal-shell .lcp-calendar-side {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 720px) {
  .lcp-portal-shell .lcp-calendar-side {
    grid-template-columns: 1fr;
  }

  .lcp-portal-shell .lcp-calendar-form-card {
    padding: 18px;
  }
}
/* Datele private ale persoanelor juridice se deschid numai când sunt relevante. */
.lcp-company-fields:not([hidden]) {
  display: grid;
  gap: 14px;
}

/*
 * International entry pages already use full-width theme containers.
 * Disable the Romanian page's full-bleed offset so the login stays centred.
 */
body.abi-portal-entry .lcp-portal-shell {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow-x: clip;
}

body.abi-portal-entry .lcp-portal-shell .lcp-login-page {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

body.abi-portal-entry .lcp-portal-shell .lcp-login-card {
  width: min(1080px, 100%) !important;
  max-width: 100% !important;
  min-width: 0;
  margin-inline: auto !important;
}

/*
 * Acțiune principală pentru clienții aflați la prima conectare.
 * Conținutul este tradus centralizat de plugin pentru fiecare limbă.
 */
.lcp-portal-shell .lcp-login-page {
  flex-direction: column;
  gap: 14px;
}

.lcp-portal-shell .lcp-first-access-banner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
  width: min(980px, 100%);
  min-height: 84px;
  padding: 14px 18px;
  overflow: hidden;
  border: 1px solid rgba(209, 161, 85, .78);
  border-radius: 4px;
  background:
    radial-gradient(circle at 12% 0, rgba(209, 161, 85, .18), transparent 35%),
    linear-gradient(110deg, #0a0a0a, #171612 72%, #0a0a0a);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 18px 38px -28px rgba(0, 0, 0, .82);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.lcp-portal-shell .lcp-first-access-banner::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(209, 161, 85, .12);
  border-radius: 2px;
  pointer-events: none;
}

.lcp-portal-shell .lcp-first-access-banner:hover,
.lcp-portal-shell .lcp-first-access-banner:focus-visible {
  transform: translateY(-2px);
  border-color: #d1a155;
  color: #fff !important;
  box-shadow: 0 22px 42px -25px rgba(0, 0, 0, .9);
}

.lcp-portal-shell .lcp-first-access-banner:focus-visible {
  outline: 3px solid rgba(209, 161, 85, .35);
  outline-offset: 3px;
}

.lcp-portal-shell .lcp-first-access-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(209, 161, 85, .74);
  border-radius: 50%;
  background: rgba(209, 161, 85, .1);
  color: #d1a155;
}

.lcp-portal-shell .lcp-first-access-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.lcp-portal-shell .lcp-first-access-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.lcp-portal-shell .lcp-first-access-copy strong {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 600;
  line-height: 1.12;
}

.lcp-portal-shell .lcp-first-access-copy small {
  color: #d1a155;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.lcp-portal-shell .lcp-first-access-arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(209, 161, 85, .48);
  border-radius: 50%;
  color: #d1a155;
  font-size: 24px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.lcp-portal-shell .lcp-first-access-banner:hover .lcp-first-access-arrow,
.lcp-portal-shell .lcp-first-access-banner:focus-visible .lcp-first-access-arrow {
  transform: translateX(2px);
  background: #d1a155;
  color: #0a0a0a;
}

body.abi-portal-entry .lcp-portal-shell .lcp-first-access-banner {
  width: min(1080px, 100%);
  max-width: 100%;
  margin-inline: auto;
}

body.abi-portal-entry .lcp-portal-shell .lcp-login-copy,
body.abi-portal-entry .lcp-portal-shell .lcp-login-action,
body.abi-portal-entry .lcp-portal-shell .lcp-login-form,
body.abi-portal-entry .lcp-portal-shell .lcp-login-fields,
body.abi-portal-entry .lcp-portal-shell .lcp-field {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 720px) {
  body.abi-portal-entry .lcp-portal-shell .lcp-login-page {
    padding: 18px 0 28px !important;
  }

  body.abi-portal-entry .lcp-portal-shell .lcp-login-card {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-inline: auto !important;
  }

  body.abi-portal-entry .lcp-portal-shell .lcp-first-access-banner {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .lcp-portal-shell .lcp-first-access-banner {
    grid-template-columns: 44px minmax(0, 1fr) 38px;
    gap: 12px;
    min-height: 76px;
    padding: 12px 13px;
  }

  .lcp-portal-shell .lcp-first-access-icon {
    width: 44px;
    height: 44px;
  }

  .lcp-portal-shell .lcp-first-access-icon svg {
    width: 22px;
    height: 22px;
  }

  .lcp-portal-shell .lcp-first-access-copy strong {
    font-size: 20px;
  }

  .lcp-portal-shell .lcp-first-access-copy small {
    font-size: 9px;
    letter-spacing: .07em;
  }

  .lcp-portal-shell .lcp-first-access-arrow {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }
}

@media (max-width: 390px) {
  .lcp-portal-shell .lcp-portal-header .lcp-brand strong {
    display: none;
  }

  .lcp-portal-shell .lcp-language-switch-header a {
    min-width: 34px;
    padding: 0 5px;
  }

  .lcp-portal-shell .lcp-brand strong {
    max-width: 105px;
    line-height: 1.05;
  }

  .lcp-portal-shell .lcp-login-copy,
  .lcp-portal-shell .lcp-login-action {
    padding-right: 19px;
    padding-left: 19px;
  }

  .lcp-portal-shell .lcp-login-copy::before {
    left: 19px;
  }

  .lcp-portal-shell .lcp-case-number {
    margin-right: 98px;
  }
}
