:root {
  --portal-bg: #f3efe7;
  --portal-surface: rgba(255, 255, 255, 0.78);
  --portal-text: #1f2937;
  --portal-muted: #5f6b7a;
  --portal-line: rgba(102, 118, 138, 0.18);
  --portal-primary: #1f6f5f;
  --portal-primary-deep: #154d43;
  --portal-secondary: #c46f4f;
  --portal-shadow: 0 24px 60px rgba(31, 41, 55, 0.10);
  --portal-radius-lg: 24px;
}

html,
body {
  font-family: 'Manrope', sans-serif;
  color: var(--portal-text);
  background:
    radial-gradient(circle at top left, rgba(196, 111, 79, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 111, 95, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf8f3 0%, #f3efe7 56%, #eef3ef 100%);
  min-height: 100%;
}

body.portal-theme {
  background-attachment: fixed;
}

.wrapper,
.content-wrapper,
.main-footer,
.main-header {
  background: transparent !important;
}

.main-header.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
  padding: 1rem 1.5rem;
  margin: 1rem 1rem 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(16px);
}

.portal-topbar-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--portal-muted);
}

.portal-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(31, 111, 95, 0.08);
  color: var(--portal-primary-deep);
  font-weight: 700;
}

.portal-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.company-logo-preview {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  display: block;
}

.portal-bell-button {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(243, 251, 248, 0.82));
  color: var(--portal-primary-deep);
  text-decoration: none;
  border: 1px solid rgba(31, 111, 95, 0.2);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.portal-bell-button.dropdown-toggle::after {
  display: none;
}

.portal-bell-button:hover {
  color: var(--portal-primary-deep);
  text-decoration: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(230, 246, 241, 0.88));
  border-color: rgba(31, 111, 95, 0.34);
  box-shadow: 0 14px 26px rgba(31, 41, 55, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.portal-bell-button:focus,
.portal-bell-button:active {
  outline: none;
  box-shadow: 0 0 0 0.18rem rgba(31, 111, 95, 0.2), 0 12px 24px rgba(31, 41, 55, 0.14);
}

.portal-bell-alert {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: #c45b4c;
  box-shadow: 0 6px 14px rgba(196, 91, 76, 0.35);
}

.portal-bell-wrapper {
  position: relative;
}

.portal-bell-menu {
  margin-top: 10px;
  width: 320px;
  max-width: min(320px, 88vw);
  padding: 0.5rem 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #3c3b4c;
  box-shadow: 0 20px 42px rgba(16, 24, 40, 0.45);
}

.portal-bell-menu-title {
  padding: 0.6rem 1rem 0.5rem;
  color: #d9daef;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.15rem;
}

.portal-bell-item {
  color: #f4f5fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  white-space: normal;
  line-height: 1.28;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.portal-bell-item:hover,
.portal-bell-item:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.portal-bell-item.disabled {
  color: rgba(244, 245, 251, 0.65) !important;
}

.portal-bell-count {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0 0.45rem;
  flex-shrink: 0;
}

.portal-bell-divider {
  border-color: rgba(255, 255, 255, 0.14);
  margin: 0.3rem 0;
}

.portal-bell-item-cta {
  font-weight: 800;
}

.dashboard-alerts {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dashboard-alert-bar {
  display: block;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(102, 118, 138, 0.2);
  border-left: 4px solid #4f88c6;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  padding: 0;
  margin-bottom: 0;
}

.dashboard-alert-birthday {
  border-left-color: #00a651;
}

.dashboard-alert-content {
  padding: 0.9rem 2.4rem 0.9rem 1rem;
  width: 100%;
}

.dashboard-alert-content strong {
  display: block;
  margin-bottom: 0.2rem;
}

.dashboard-alert-close {
  position: absolute;
  top: 8px;
  right: 10px;
  line-height: 1;
}

.main-sidebar {
  background: linear-gradient(180deg, rgba(16, 39, 54, 0.96) 0%, rgba(21, 77, 67, 0.96) 100%) !important;
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 14px 0 35px rgba(16, 24, 40, 0.16);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1.25rem 1.2rem;
}

.portal-brand-mark,
.login-brand-badge {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--portal-secondary) 0%, #e59d7c 100%);
  box-shadow: 0 12px 26px rgba(196, 111, 79, 0.28);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-text-wrap .brand-text {
  color: #fff;
  font-weight: 800 !important;
  font-size: 1rem;
}

.brand-text-wrap small {
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.03em;
}

.sidebar {
  padding: 1rem 0.75rem 1.25rem;
}

.nav-sidebar .nav-header {
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.nav-sidebar .nav-link {
  border-radius: 16px;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.82) !important;
  padding: 0.85rem 0.95rem;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(2px);
}

.nav-sidebar .nav-link.active {
  background: linear-gradient(135deg, rgba(217, 238, 232, 0.18), rgba(255, 255, 255, 0.12)) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.14);
  color: #fff !important;
}

.nav-sidebar .nav-link .nav-icon {
  color: rgba(255, 255, 255, 0.82) !important;
}

.content-wrapper {
  padding-bottom: 2rem;
}

.content-header {
  padding: 1.35rem 0.5rem 0.2rem;
}

.portal-page-heading {
  display: flex;
  align-items: center;
  min-height: 52px;
}

.portal-page-heading h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #152230;
}

.content {
  padding: 0.4rem 0.5rem 0;
}

.card,
.small-box,
.info-box,
.modal-content {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--portal-radius-lg);
  box-shadow: var(--portal-shadow);
  background: var(--portal-surface);
  backdrop-filter: blur(14px);
}

.card-header {
  border-bottom: 1px solid var(--portal-line);
  background: transparent;
  padding: 1.15rem 1.35rem 1rem;
}

.card-title {
  font-weight: 800;
  color: #17202c;
}

.card-body,
.card-footer {
  padding: 1.35rem;
}

.card-primary:not(.card-outline) > .card-header {
  background: linear-gradient(135deg, rgba(31, 111, 95, 0.14), rgba(217, 238, 232, 0.52));
}

.alert {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(31, 41, 55, 0.08);
}

.alert-success {
  background: #e7f5ef;
  color: #14463d;
}

.alert-warning {
  background: #fff2df;
  color: #754d23;
}

.btn {
  border-radius: 14px;
  font-weight: 700;
  padding: 0.68rem 1rem;
  border-width: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--portal-primary) 0%, #2d8d78 100%);
  border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--portal-primary-deep) 0%, var(--portal-primary) 100%);
}

.btn-warning {
  background: linear-gradient(135deg, #d8934f 0%, #eab36a 100%);
  border-color: transparent;
  color: #fff;
}

.btn-danger {
  background: linear-gradient(135deg, #c45b4c 0%, #d97a68 100%);
  border-color: transparent;
}

.btn-outline-secondary {
  border-color: rgba(95, 107, 122, 0.24);
  color: var(--portal-text);
  background: rgba(255, 255, 255, 0.52);
}

.btn-outline-secondary:hover {
  background: rgba(31, 111, 95, 0.08);
  border-color: rgba(31, 111, 95, 0.24);
  color: var(--portal-primary-deep);
}

.form-control,
.custom-select,
.input-group-text {
  border-radius: 14px !important;
  border-color: rgba(102, 118, 138, 0.18);
  min-height: 48px;
}

.form-control,
.custom-select {
  background: rgba(255, 255, 255, 0.85);
  color: var(--portal-text);
}

.form-control:focus,
.custom-select:focus {
  border-color: rgba(31, 111, 95, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(31, 111, 95, 0.12);
}

.input-group > .form-control:not(:last-child) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group-append .input-group-text {
  background: rgba(31, 111, 95, 0.08);
  color: var(--portal-primary);
  border-left: 0;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.table {
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th {
  border-top: 0;
  border-bottom: 1px solid var(--portal-line);
  color: var(--portal-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table td,
.table th {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  vertical-align: middle;
  border-top-color: rgba(102, 118, 138, 0.1);
}

.table-hover tbody tr:hover {
  background: rgba(217, 238, 232, 0.28);
}

.main-footer {
  margin: 0 1rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(14px);
  color: var(--portal-muted);
}

.portal-guest {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.portal-guest::before,
.portal-guest::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
}

.portal-guest::before {
  width: 320px;
  height: 320px;
  top: 6vh;
  left: 8vw;
  background: rgba(196, 111, 79, 0.18);
}

.portal-guest::after {
  width: 360px;
  height: 360px;
  right: 5vw;
  bottom: 8vh;
  background: rgba(31, 111, 95, 0.16);
}

.login-box {
  width: min(420px, 100%);
}

.login-card-modern {
  overflow: hidden;
}

.login-card-modern .card-header {
  padding-top: 1.6rem;
  padding-bottom: 1.1rem;
}

.login-brand-badge {
  margin: 0 auto 1rem;
}

.login-subtitle {
  margin-top: 0.55rem;
  color: var(--portal-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.login-page .card {
  margin-bottom: 0;
}

.login-page a {
  color: var(--portal-primary-deep);
  font-weight: 700;
}

.news-item-accordion + .news-item-accordion {
  border-top: 1px solid var(--portal-line);
}

.news-item-accordion[open] {
  background: rgba(217, 238, 232, 0.14);
}

.news-item-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  cursor: pointer;
}

.news-item-summary::-webkit-details-marker {
  display: none;
}

.news-item-summary-main {
  min-width: 0;
}

.news-item-summary-main strong {
  display: block;
  margin-bottom: 0.2rem;
}

.news-item-summary-side {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.news-item-chevron {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(31, 111, 95, 0.08);
  color: var(--portal-primary);
  transition: transform 0.18s ease;
}

.news-item-accordion[open] .news-item-chevron {
  transform: rotate(180deg);
}

.news-item-panel {
  border-top: 1px solid var(--portal-line);
}

.shortcuts-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 112%, rgba(37, 94, 129, 0.2), transparent 34%),
    linear-gradient(135deg, #05080f 0%, #0a111b 58%, #101824 100%) !important;
  border-color: rgba(255, 255, 255, 0.08);
}

.shortcuts-card .shortcut-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.shortcuts-card .card-title {
  color: #f7f8fb;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.shortcut-item {
  min-width: 0;
}

.shortcut-item.is-dragging {
  opacity: 0.55;
}

.shortcut-card {
  aspect-ratio: 1.62 / 1;
  width: 100%;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  position: relative;
  padding: 0.78rem 0.55rem;
  text-align: center;
  border: 0;
  border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
  color: #161b22;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.shortcut-item:nth-child(3n + 1) .shortcut-card {
  background: linear-gradient(135deg, #ff9800 0%, #ff7a00 100%);
  color: #fff;
}

.shortcut-item:nth-child(3n + 2) .shortcut-card {
  background: linear-gradient(135deg, #232132 0%, #39354e 100%);
  color: #fff;
}

.shortcut-item:nth-child(3n + 3) .shortcut-card {
  background: linear-gradient(135deg, #ffffff 0%, #ece7e7 100%);
  color: #2d3035;
}

.shortcut-card:hover,
.shortcut-card:focus {
  color: inherit;
  text-decoration: none;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.shortcut-drag {
  position: absolute;
  top: 8px;
  right: 9px;
  color: currentColor;
  cursor: move;
  opacity: 0.42;
}

.shortcut-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.shortcut-name {
  display: block;
  width: 100%;
  min-height: 1.25em;
  line-height: 1.15;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: none;
  overflow-wrap: anywhere;
}

.shortcut-add-card {
  cursor: pointer;
  background: linear-gradient(135deg, #15121e 0%, #201c2e 100%);
  color: #d9dce8;
}

.shortcut-add-card::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  border-style: solid;
  border-width: 0 0 18px 18px;
  border-color: transparent transparent #ff2f72 transparent;
}

.shortcut-add-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
}

.general-doubts-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.general-doubts-tabs {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(102, 118, 138, 0.16);
}

.general-doubts-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  color: var(--portal-muted);
  font-weight: 800;
}

.general-doubts-tab:hover,
.general-doubts-tab:focus {
  color: var(--portal-primary-deep);
  text-decoration: none;
}

.general-doubts-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--portal-primary) 0%, #2d8d78 100%);
}

.general-doubts-search,
.chat-input-row {
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
}

.general-doubts-search {
  width: min(520px, 100%);
}

.general-doubts-category {
  display: block;
  padding: 0.65rem 0;
  color: var(--portal-primary-deep);
  font-weight: 800;
  border-bottom: 1px solid rgba(102, 118, 138, 0.12);
}

.general-doubts-category:last-child {
  border-bottom: 0;
}

.general-doubts-section + .general-doubts-section {
  margin-top: 1rem;
}

.general-doubts-faq {
  border-bottom: 1px solid rgba(102, 118, 138, 0.12);
}

.general-doubts-faq:last-child {
  border-bottom: 0;
}

.general-doubts-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.35rem;
  font-weight: 800;
  color: #17202c;
}

.general-doubts-faq summary::-webkit-details-marker {
  display: none;
}

.general-doubts-faq summary::before {
  content: '+';
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-right: 0.6rem;
  border-radius: 999px;
  background: rgba(31, 111, 95, 0.1);
  color: var(--portal-primary);
}

.general-doubts-faq[open] summary::before {
  content: '-';
}

.general-doubts-answer {
  padding: 0 1.35rem 1.2rem 3.55rem;
  color: var(--portal-text);
  line-height: 1.58;
}

.general-doubts-source {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--portal-muted);
}

.general-doubts-chat .card-body {
  padding: 0;
}

.chat-window {
  min-height: 390px;
  max-height: 620px;
  overflow-y: auto;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(31, 111, 95, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.42);
}

.chat-message {
  display: flex;
  margin-bottom: 0.9rem;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: min(760px, 88%);
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
  line-height: 1.52;
}

.chat-message.user .chat-bubble {
  color: #fff;
  background: linear-gradient(135deg, var(--portal-primary) 0%, #2d8d78 100%);
}

.chat-message.bot .chat-bubble strong {
  display: block;
  margin-bottom: 0.45rem;
}

.chat-input-row {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--portal-line);
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0 1.25rem 1.25rem;
}

.chat-suggestions a {
  display: inline-flex;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  background: rgba(31, 111, 95, 0.08);
  color: var(--portal-primary-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.chat-suggestions a:hover,
.chat-suggestions a:focus {
  color: #fff;
  background: var(--portal-primary);
  text-decoration: none;
}



.modal-header,
.modal-footer {
  border-color: var(--portal-line);
}

@media (max-width: 991.98px) {
  .main-header.navbar,
  .main-footer {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .portal-page-heading h1 {
    font-size: 1.7rem;
  }

  .card-body,
  .card-header,
  .card-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .shortcut-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .general-doubts-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .general-doubts-search {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .content-wrapper {
    margin-left: 0 !important;
  }

  .main-sidebar {
    border-radius: 0 24px 24px 0;
  }

  .content-header {
    padding-top: 1rem;
  }

  .portal-page-heading h1 {
    font-size: 1.45rem;
  }

  .shortcut-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .shortcut-card {
    min-height: 58px;
    padding: 0.55rem 0.3rem;
  }

  .shortcut-icon {
    width: 26px;
    height: 26px;
  }

  .shortcut-name {
    font-size: 0.68rem;
  }

  .general-doubts-tabs {
    width: 100%;
  }

  .general-doubts-tab {
    flex: 1;
    justify-content: center;
  }

  .general-doubts-answer {
    padding-left: 1.35rem;
  }
}

.portal-user-avatar,
.portal-sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.portal-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.portal-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0.75rem 0.75rem 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f7fb;
}

.portal-sidebar-avatar {
  width: 44px;
  height: 44px;
}

.portal-sidebar-user-name {
  font-weight: 700;
}

.portal-sidebar-user-role {
  font-size: 0.78rem;
  opacity: 0.78;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-dashboard-body {
  color: var(--portal-text);
  line-height: 1.7;
  word-break: break-word;
}

.news-dashboard-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.news-dashboard-body p:last-child {
  margin-bottom: 0;
}

.news-dashboard-body ul,
.news-dashboard-body ol {
  padding-left: 1.25rem;
}

.news-carousel-card .card-body {
  min-height: 280px;
}

.news-carousel-controls {
  display: inline-flex;
  gap: 0.5rem;
}

.news-carousel-arrow {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 111, 95, 0.08);
  color: var(--portal-primary-deep);
}

.news-carousel-arrow:hover,
.news-carousel-arrow:focus {
  background: rgba(31, 111, 95, 0.16);
  outline: none;
}

.news-carousel-item {
  min-height: 220px;
}

.news-carousel-meta {
  gap: 1rem;
}

.shortcuts-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 111, 95, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(241, 246, 244, 0.92) 100%) !important;
  border-color: rgba(102, 118, 138, 0.12);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.shortcuts-card .shortcut-header {
  border-bottom-color: rgba(102, 118, 138, 0.1);
}

.shortcuts-card .card-title {
  color: var(--portal-text);
}

.shortcut-item {
  min-width: 0;
  position: relative;
}

.shortcut-delete-form {
  position: absolute;
  top: 0.6rem;
  right: 0.65rem;
  z-index: 4;
}

.shortcut-action-button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.shortcut-action-button:hover,
.shortcut-action-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
  outline: none;
}

.shortcut-action-delete {
  background: #c45b6f;
  color: #fff;
}

.shortcut-drag {
  top: 8px;
  left: 9px;
  right: auto;
}
