:root {
  --brand-teal: #0fa59a;
  --brand-teal-dark: #0a756d;
  --brand-teal-light: #e0f5f3;
  --brand-grey: #9ca3af;
  --brand-grey-dark: #4b5563;
  --brand-grey-light: #f3f4f6;
  --brand-accent: #374151;
}

.last-update-date {
  font-family: monospace;
  font-weight: 600;
  color: var(--brand-accent);
  font-size: 0.875rem;
}

.action-btn.share {
  color: #3b82f6;
}

.action-btn.share:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.action-btn.password {
  color: #f59e0b;
}

.action-btn.password:hover {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.search-section {
  max-width: 600px;
  margin: 0 auto;
}

.search-input-report {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 0.75rem 3rem 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--brand-accent);
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* CV Link Settings Styles */
.cv-link-settings {
  direction: rtl;
}

.access-toggle {
  margin-bottom: 1rem;
}

.access-options {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.access-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  flex: 1;
}

.access-option:hover {
  border-color: var(--brand-teal);
  background: rgba(15, 165, 154, 0.05);
}

.access-option input[type='radio'] {
  display: none;
}

.access-option input[type='radio']:checked + .access-option-label {
  color: var(--brand-teal);
}

.access-option input[type='radio']:checked + .access-option-label .material-symbols-outlined {
  color: var(--brand-teal);
}

.access-option input[type='radio']:checked ~ .access-option {
  border-color: var(--brand-teal);
  background: rgba(15, 165, 154, 0.1);
}

.access-option-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.access-option-label .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--brand-grey);
}

.custom-link-input-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.custom-link-input {
  display: flex;
  align-items: center;
  flex: 1;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.custom-link-input:focus-within {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(15, 165, 154, 0.1);
}

.custom-link-input.has-error {
  border-color: #ef4444;
}

.custom-link-input.has-success {
  border-color: #10b981;
}

.link-prefix {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 0.75rem 1rem;
  border: none;
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  border-left: 1px solid #e5e7eb;
}

.custom-link-input .form-control {
  border: none;
  border-radius: 0;
  font-family: 'Courier New', monospace;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  flex: 1;
}

.custom-link-input .form-control:focus {
  box-shadow: none;
  background: #fafafa;
}

.custom-link-input-wrapper .btn {
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-width: fit-content;
}

.custom-link-input-wrapper .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 165, 154, 0.15);
}

.custom-link-input-wrapper .btn:active {
  transform: translateY(0);
}

.custom-link-input-wrapper .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.custom-link-input-wrapper .btn:disabled:hover {
  box-shadow: none;
  transform: none;
}

.link-help-text {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.link-help-text:hover {
  opacity: 1;
}

.link-validation-feedback {
  margin-top: 0.5rem;
  min-height: 1.5rem;
}

.validation-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideIn 0.3s ease;
}

.validation-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.validation-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.validation-message.warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.validation-message.info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.checking-availability {
  animation: pulse 1.5s infinite;
}

#linkStatus {
  transition: all 0.3s ease;
}

#linkStatus.available {
  color: #10b981;
}

#linkStatus.unavailable {
  color: #ef4444;
}

#linkStatus.checking {
  color: #f59e0b;
}

.password-section {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.password-input-group {
  display: flex;
  gap: 0.5rem;
}

.password-input-group .form-control {
  flex: 1;
}

.password-input-group .btn {
  border-color: #d1d5db;
}

.access-status {
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator.public {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.status-indicator.private {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.status-indicator .material-symbols-outlined {
  font-size: 1.125rem;
}

/* Form validation styles */
.is-invalid {
  border-color: #ef4444 !important;
}

.invalid-feedback {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Success message styles */
.success-message {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.success-message .material-symbols-outlined {
  color: #166534;
}

.search-input-report:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(15, 165, 154, 0.1);
}

.search-input-report::placeholder {
  color: var(--brand-grey);
}

.btn-delete-note {
  background: none;
  border: none;
  color: #ef4444;
  padding: 0.25rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-delete-note:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  transform: scale(1.1);
}

.btn-delete-note:active {
  transform: scale(0.95);
}

.btn-delete-note .material-symbols-outlined {
  font-size: 1.125rem;
}

/* Improved single-row table styling with unified background */
tbody tr {
  border-bottom: 2px solid rgba(226, 232, 240, 0.8) !important;
  background: rgba(249, 250, 251, 0.8) !important;
}

tbody tr:hover {
  background: rgba(15, 165, 154, 0.08) !important;
}

/* Element separation */
.report-info {
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.link-container {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.3);
}

.action-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.3);
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 165, 154, 0.3);
  transform: translateY(-1px);
}

/* Card Layout Toggle Styles */
.cards-grid .card {
  width: calc(50% - 1rem);
  display: inline-block;
  vertical-align: top;
  margin: 0 0.5rem 1rem 0.5rem;
}

.cards-grid .card .card-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.cards-grid .card .card-body > .d-flex {
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100%;
  row-gap: 0.5rem;
}

.cards-grid .card .card-body > .d-flex > .flex-shrink-0:first-child {
  margin-bottom: 1rem;
  order: 1;
  align-self: center;
}

.cards-grid .card .card-body > .d-flex > .flex-grow-1 {
  width: 100%;
  order: 2;
  margin-bottom: 1rem;
  text-align: center !important;
}

.cards-grid .card .card-body > .d-flex > .flex-grow-1 * {
  text-align: center !important;
}

.cards-grid .card .card-body > .d-flex > .flex-grow-1 .d-flex {
  justify-content: center !important;
}

.cards-grid .card .card-body > .d-flex > .flex-shrink-0:last-child {
  order: 3;
  width: 100%;
  display: flex;
  justify-content: center;
}

.cards-grid .card .card-body > .d-flex > .flex-shrink-0:last-child .btn {
  width: 100% !important;
  justify-content: center;
}

.cards-list .card {
  width: 100%;
  display: block;
}

.cards-list .card .card-body {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
}

.cards-list .card .flex-shrink-0 {
  margin-left: 1rem;
}

@media (max-width: 768px) {
  .cards-grid .card {
    width: 100%;
    margin: 0 0 1rem 0;
  }
}

/* 3 cards per row on desktop */
@media (min-width: 992px) {
  .cards-grid .card {
    width: calc(33% - 1rem);
    margin: 0 0.5rem 1rem 0.5rem;
  }
}

.btn-gradient {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dark));
  color: white;
  border: none;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, var(--brand-teal-dark), #0a756d);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(15, 165, 154, 0.3);
}

.btn-gradient:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(15, 165, 154, 0.2);
}

.btn-gradient .material-symbols-outlined {
  font-size: 1.125rem;
}

.bg-grid-pattern {
  background-image: linear-gradient(rgba(15, 165, 154, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 165, 154, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.soft-card {
  border-radius: 24px;
  border: 1px solid #e9eef5;
  background: #fff;
  box-shadow: 0 10px 30px rgba(55, 65, 81, 0.06);
}

.glass-card {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 40px -5px rgba(15, 165, 154, 0.12);
}

.app-layout {
  max-width: 1920px;
  margin: 0 auto;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: 300px;
  padding: 24px;
}

.sidebar .logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dark));
  box-shadow: 0 15px 30px rgba(15, 165, 154, 0.35);
}

.nav-link-ghost {
  border-radius: 18px;
  padding: 12px 16px;
  color: var(--brand-grey) !important;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-link-ghost:hover {
  background: var(--brand-teal-light) !important;
  color: var(--brand-teal) !important;
}

.nav-link-active:hover {
  background: var(--brand-accent);
  color: #fff;
}

.nav-link-active {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 15px 25px rgba(15, 23, 42, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.nav-link-active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 165, 154, 0.25), rgba(10, 117, 109, 0.25));
  opacity: 0.4;
}

.nav-link-active .icon-fill {
  font-variation-settings: 'FILL' 1;
}

.help-card {
  background: linear-gradient(135deg, var(--brand-teal-light), #ffffff);
  border: 1px solid rgba(15, 165, 154, 0.25);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 8px 16px rgba(15, 165, 154, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.help-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(15, 165, 154, 0.14);
}

.help-card::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(15, 165, 154, 0.2);
  top: -24px;
  right: -24px;
  opacity: 0.85;
  transition:
    transform 0.35s ease,
    opacity 0.3s ease;
}

.help-card:hover::after {
  transform: scale(1.5);
  opacity: 1;
}

.header-pill {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 6px;
}

.hero-card {
  background: linear-gradient(90deg, var(--brand-teal), #0d9488);
  border-radius: 36px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(15, 165, 154, 0.2);
  color: #fff;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.9;
}

.hero-card::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -12%;
  width: 260px;
  height: 260px;
  background: rgba(19, 78, 74, 0.25);
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.9;
}

.hero-card .texture {
  position: absolute;
  inset: 0;
  opacity: 0.1;

  background-size: 20px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
}

.mini-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-accent);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  transform: rotate(3deg);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.mini-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.12);
}

.section-card {
  border-radius: 28px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e7edf5;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.list-item {
  border-radius: 24px;
  padding: 18px 22px;
  background: rgba(243, 244, 246, 0.6);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.list-item:hover {
  background: #fff;
  border-color: rgba(15, 165, 154, 0.25);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.06);
}

.accent-rail {
  width: 10px;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15, 165, 154, 0.5), rgba(15, 165, 154, 0.9));
}

.accent-rail.orange {
  background: linear-gradient(180deg, rgba(253, 186, 116, 0.7), rgb(249, 115, 22));
}

.accent-rail.purple {
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.7), rgb(126, 34, 206));
}

.list-arrow {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff;
  color: var(--brand-grey);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.list-item:hover .list-arrow {
  background: var(--brand-teal);
  color: #fff;
  transform: translateX(-8px);
}

.progress-shell {
  height: 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
}

.dashed-card {
  border: 3px dashed var(--brand-grey-light);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  color: rgba(156, 163, 175, 0.8);
  transition: all 0.2s ease;
  height: 100%;
}

.dashed-card:hover {
  border-color: rgba(15, 165, 154, 0.55);
  background: rgba(15, 165, 154, 0.05);
  color: var(--brand-teal);
  box-shadow: 0 12px 24px rgba(15, 165, 154, 0.08);
}

.floating-bar {
  bottom: 24px;
  z-index: 50;
}

.floating-inner {
  background: rgba(55, 65, 81, 0.95);
  color: #fff;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(12px);
  max-width: 760px;
  margin: 0 auto;
}

.background-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: multiply;
  opacity: 0.7;
}

.orb.teal {
  width: 600px;
  height: 600px;
  background: rgba(15, 165, 154, 0.18);
  top: -10%;
  right: -6%;
}

.orb.grey {
  width: 520px;
  height: 520px;
  background: rgba(229, 231, 235, 0.45);
  bottom: -10%;
  left: -6%;
}

.orb.light {
  width: 320px;
  height: 320px;
  background: rgba(224, 245, 243, 0.9);
  top: 40%;
  left: 18%;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@media (max-width: 991px) {
  body {
    overflow: auto;
  }
  .app-layout {
    height: auto;
  }
  .hero-card {
    padding: 24px;
  }
  .hero-card h1 {
    font-size: 2.5rem !important;
  }
  .section-card {
    padding: 16px !important;
  }
  .btn {
    font-size: 0.875rem !important;
    padding: 8px 16px !important;
  }
  .list-item {
    padding: 14px 18px !important;
  }
  .item-content {
    padding: 16px !important;
  }
}

:root {
  --brand-teal: #0fa59a;
  --brand-teal-dark: #0a756d;
  --brand-teal-light: #e0f5f3;
  --brand-grey: #9ca3af;
  --brand-grey-dark: #4b5563;
  --brand-grey-light: #f3f4f6;
  --brand-accent: #374151;
}

/* Prevent mobile zoom and text size adjustments */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: manipulation;
}

body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overscroll-behavior: contain;
}

/* Allow text selection for input fields and content areas */
input,
textarea,
[contenteditable] {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
body
  > div.d-flex.h-screen.w-full
  > main
  > div
  > div.max-w-4xl.mx-auto.space-y-4.pt-3.pb-20
  > div.custom-card.group
  > div
  > div:nth-child(1)
  > div
  > div:nth-child(1)
  > div
  > button {
  background: #e0f5f3;
  color: #0a756d;
  border: 1px solid (15, 165, 154, 0.1);
}

/* Font Family */
body {
  font-family: 'Readex Pro', sans-serif;
}

/* Glass Morphism Effect */
.glass-morphism {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Grid Pattern Background */
.bg-grid-pattern {
  background-image: linear-gradient(rgba(15, 165, 154, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 165, 154, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Custom Shadows */
.shadow-soft-xl {
  box-shadow: 0 20px 40px -5px rgba(15, 165, 154, 0.1);
}

.shadow-inner-light {
  box-shadow: inset 0 2px 4px 0 rgba(255, 255, 255, 0.3);
}

/* Background Mesh */
.bg-mesh {
  background-image: radial-gradient(at 0% 0%, hsla(176, 68%, 83%, 1) 0, transparent 50%),
    radial-gradient(at 50% 0%, hsla(186, 80%, 85%, 1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(176, 68%, 83%, 1) 0, transparent 50%);
}

/* Layout Classes */
.bg-brand-grey-light {
  background-color: var(--brand-grey-light);
}

.text-brand-grey-dark {
  color: var(--brand-grey-dark);
}

.text-brand-accent {
  color: var(--brand-accent);
}

.text-brand-teal {
  color: var(--brand-teal);
}

.text-brand-teal-dark {
  color: var(--brand-teal-dark);
}

.text-brand-grey {
  color: var(--brand-grey);
}

.bg-brand-teal {
  background-color: var(--brand-teal);
  border-radius: 50%;
}

.bg-brand-teal-light {
  background-color: var(--brand-teal-light);
}

.bg-brand-accent {
  background-color: var(--brand-accent);
}

.bg-brand-grey {
  background-color: var(--brand-grey);
}

/* Border Colors */
.border-brand-teal {
  border-color: var(--brand-teal);
}

.border-brand-grey-light {
  border-color: var(--brand-grey-light);
}

/* Hover Effects */
.hover-bg-brand-teal-light:hover {
  background-color: var(--brand-teal-light);
}

.hover-text-brand-teal:hover {
  color: var(--brand-teal);
}

.hover-border-brand-teal:hover {
  border-color: var(--brand-teal);
}

/* Size Classes */
.size-2 {
  width: 0.5rem;
  height: 0.5rem;
}

.size-10 {
  width: 2.5rem;
  height: 2.5rem;
}

.size-12 {
  width: 3rem;
  height: 3rem;
}

.w-300 {
  width: 18.75rem;
}

/* Rounded Corners */
.rounded-2xl {
  border-radius: 1rem;
}

.rounded-2rem {
  border-radius: 2rem;
}

/* Spacing */
.gap-1 {
  gap: 0.25rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Transitions */
.transition-all {
  transition: all 0.3s ease;
}

.transition-colors {
  transition: color 0.3s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

/* Group Hover Effects */
.group:hover .group-hover\:scale-125 {
  transform: scale(1.25);
}

.group:hover .group-hover-scale-125 {
  transform: scale(1.25);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:text-brand-teal-dark {
  color: var(--brand-teal-dark);
}

.group:hover .group-hover\:underline {
  text-decoration: underline;
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:translate-x-0 {
  transform: translateX(0);
}

/* Underline Styles */
.underline-offset-4 {
  text-underline-offset: 4px;
}

.decoration-brand-teal\/20 {
  text-decoration-color: rgba(15, 165, 154, 0.2);
}

/* Custom Button Styles */
.btn-add-achievement {
  border: 2px dashed var(--brand-grey-light);
  color: var(--brand-grey);
  font-weight: bold;
  transition: all 0.3s ease;
  background-color: transparent;
  border-radius: 1rem;
}

.btn-add-achievement:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background-color: rgba(224, 245, 243, 0.1);
}

/* Achievement Item Styles */
.achievement-item {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.achievement-item:hover {
  background-color: rgba(224, 245, 243, 0.4);
  border-color: rgba(15, 165, 154, 0.3);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Edit Button Styles */
.btn-edit {
  color: var(--brand-grey);
  border: 1px solid transparent;
  padding: 0.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  background-color: transparent;
}

.btn-edit:hover {
  color: var(--brand-teal);
  background-color: white;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Achievement Card Header */
.achievement-header {
  background-color: rgba(243, 244, 246, 0.1);
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem;
}

/* Number Badge */
.number-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--brand-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgba(55, 65, 81, 0.2);
}

/* Status Badge */
.status-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-grey);
  background-color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

/* Search Input */
.search-input {
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.search-input:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(15, 165, 154, 0.2);
}

/* User Badge */
.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--brand-teal);
  box-shadow:
    0 4px 20px rgba(15, 165, 154, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.user-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(15, 165, 154, 0.1), transparent);
  transition: left 0.5s ease;
}

.user-badge:hover::before {
  left: 100%;
}

.user-badge:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(15, 165, 154, 0.25),
    0 4px 8px rgba(0, 0, 0, 0.1);
}

.user-badge .material-symbols-outlined {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dark));
  color: white;
  padding: 0.5rem;
  border-radius: 50%;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(15, 165, 154, 0.3);
}

/* Ensure h1 in user badge displays horizontally */
.user-badge h1 {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  direction: rtl !important;
  white-space: nowrap !important;
  display: inline-block !important;
}

/* Add Content Badge */
.add-content-badge {
  font-size: 0.625rem;
  font-weight: bold;
  color: var(--brand-teal);
  background-color: var(--brand-teal-light);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: all 0.3s ease;
}

.achievement-item:hover .add-content-badge {
  opacity: 1;
  transform: translateX(0);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  text-align: center;
}

.empty-state-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--brand-grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* Background Orbs */
.bg-orb-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background-color: rgba(15, 165, 154, 0.1);
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: multiply;
}

.bg-orb-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background-color: rgba(229, 231, 235, 0.4);
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: multiply;
}

.bg-orb-3 {
  position: absolute;
  top: 40%;
  left: 20%;
  width: 300px;
  height: 300px;
  background-color: var(--brand-teal-light);
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: multiply;
}

/* RTL Support */
[dir='rtl'] .search-input {
  padding-right: 2.75rem;
  padding-left: 1rem;
}

[dir='rtl'] .add-content-badge {
  transform: translateX(0.5rem);
}

[dir='rtl'] .achievement-item:hover .add-content-badge {
  transform: translateX(0);
}

[dir='rtl'] .position-absolute.start-4 {
  right: 1rem !important;
  left: auto !important;
}

[dir='rtl'] .position-absolute.end-4 {
  left: 1rem !important;
  right: auto !important;
}

[dir='rtl'] .d-flex {
  direction: rtl;
}

[dir='rtl'] .flex-row-reverse {
  flex-direction: row-reverse;
}

[dir='rtl'] .order-1 {
  order: 1 !important;
}

[dir='rtl'] .order-2 {
  order: 2 !important;
}

[dir='rtl'] .order-3 {
  order: 3 !important;
}

@media (min-width: 768px) {
  [dir='rtl'] .order-md-1 {
    order: 1 !important;
  }

  [dir='rtl'] .order-md-2 {
    order: 2 !important;
  }
}

/* Responsive Design */
@media (max-width: 575.98px) {
  /* Extra small devices (phones) */
  .h-screen {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
  }

  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .p-4 {
    padding: 1rem !important;
  }

  .space-y-6 > * + * {
    margin-top: 1rem !important;
  }

  .space-y-4 > * + * {
    margin-top: 0.75rem !important;
  }

  .user-badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    gap: 0.5rem;
  }

  .user-badge .material-symbols-outlined {
    font-size: 1rem;
    padding: 0.375rem;
  }

  .search-input {
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    font-size: 0.813rem;
  }

  .achievement-header {
    padding: 1rem;
  }

  .number-badge {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .fs-6 {
    font-size: 0.875rem !important;
  }

  .fs-5 {
    font-size: 0.9rem !important;
  }

  .gap-3 {
    gap: 0.5rem !important;
  }

  .gap-4 {
    gap: 0.75rem !important;
  }

  .rounded-2rem {
    border-radius: 1rem !important;
  }

  .btn-add-achievement {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .achievement-item {
    padding: 0.75rem;
  }

  .status-badge {
    font-size: 0.688rem;
    padding: 0.188rem 0.625rem;
  }

  .empty-state-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.625rem;
  }

  .empty-state {
    padding: 1.5rem 0;
  }

  /* Adjust background orbs for mobile */
  .bg-orb-1 {
    width: 300px;
    height: 300px;
    top: -5%;
    right: -10%;
  }

  .bg-orb-2 {
    width: 250px;
    height: 250px;
    bottom: -5%;
    left: -10%;
  }

  .bg-orb-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 10%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  /* Small devices (landscape phones) */
  .px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .user-badge {
    padding: 0.625rem 1.5rem;
  }

  .achievement-header {
    padding: 1.25rem;
  }

  .bg-orb-1 {
    width: 400px;
    height: 400px;
  }

  .bg-orb-2 {
    width: 350px;
    height: 350px;
  }

  .bg-orb-3 {
    width: 250px;
    height: 250px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Medium devices (tablets) */
  .px-4 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .mx-auto[style*='max-width'] {
    max-width: 48rem !important;
  }

  .bg-orb-1 {
    width: 500px;
    height: 500px;
  }

  .bg-orb-2 {
    width: 400px;
    height: 400px;
  }

  .bg-orb-3 {
    width: 275px;
    height: 275px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Large devices (desktops) */
  .mx-auto[style*='max-width'] {
    max-width: 56rem !important;
  }
}

@media (min-width: 1200px) {
  /* Extra large devices (large desktops) */
  .mx-auto[style*='max-width'] {
    max-width: 64rem !important;
  }
}

@media (min-width: 1400px) {
  /* Extra extra large devices */
  .mx-auto[style*='max-width'] {
    max-width: 72rem !important;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .achievement-item:hover {
    background-color: white;
    border-color: #e2e8f0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  }

  .achievement-item:active {
    background-color: rgba(224, 245, 243, 0.4);
    border-color: rgba(15, 165, 154, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .btn-edit:hover {
    color: var(--brand-grey);
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .btn-edit:active {
    color: var(--brand-teal);
    background-color: white;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  }

  .user-badge:hover {
    transform: none;
    box-shadow:
      0 4px 20px rgba(15, 165, 154, 0.15),
      0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .btn-outline-brand:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal);
    background-color: rgba(224, 245, 243, 0.1);
  }

  .material-symbols-outlined {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  /* Can be implemented later if dark mode is needed */
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .user-badge::before {
    display: none;
  }
}
.h-screen {
  height: 100vh;
}

.z-n1 {
  z-index: -1;
}

.flex-1 {
  flex: 1;
}

.min-vh-100 {
  min-height: 100vh;
}

/* Fix for Bootstrap RTL */
[dir='rtl'] .d-flex {
  direction: rtl;
}

[dir='rtl'] .flex-row-reverse {
  flex-direction: row-reverse;
}

/* Notes Section Styles - Updated to match original design */
.main-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem 0 5rem 0;
}

.notes-card {
  background-color: white;
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  border: 1px solid #f1f5f9;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.gradient-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, var(--brand-teal), var(--brand-teal-dark));
}

.timeline-item {
  gap: 1rem;
  margin-bottom: 1rem;
}

.timeline-item .group:last-child .timeline-line {
  display: none;
}

.timeline-item.group:last-child .timeline-line {
  display: none;
}

.timeline-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  z-index: 10;
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 1;
}

.timeline-number.active {
  background-color: var(--brand-accent);
  color: white;
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 0 0 4px white;
}

.timeline-number.inactive {
  background-color: white;
  border: 2px solid var(--brand-teal);
  color: var(--brand-teal);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.timeline-number.read {
  background-color: white;
  border: 2px solid var(--brand-grey);
  color: var(--brand-grey);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.timeline-line {
  width: 2px;
  height: 100%;
  background-color: #f1f5f9;
  margin: 0.5rem 0 0 0;
  border-radius: 9999px;
}

.note-card {
  background-color: rgba(243, 244, 246, 0.3);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.note-card:hover {
  border-color: rgba(15, 165, 154, 0.2);
  background-color: white;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.date-badge {
  background-color: white;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-grey-dark);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.btn-brand-teal {
  background-color: var(--brand-teal-light);
  color: var(--brand-teal);
  border: none;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: auto;
}

.tracking-tight {
  letter-spacing: -0.025em;
}
.font-black {
  font-weight: 900;
}

/* Settings Section Styles */
.btn-outline-brand {
  background-color: transparent;
  border: 1px solid var(--brand-grey-light);
  color: var(--brand-grey);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-outline-brand:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background-color: rgba(224, 245, 243, 0.1);
}

.btn-brand {
  background-color: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  border: 1px solid rgba(15, 165, 154, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-brand:hover {
  background-color: var(--brand-teal);
  color: white;
}

.custom-card {
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.form-control-custom {
  background-color: var(--brand-grey-light);
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-accent);
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--brand-teal);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(15, 165, 154, 0.2);
}

.form-control-custom-white {
  background-color: white;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-accent);
  transition: all 0.3s ease;
}

.form-control-custom-white:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(15, 165, 154, 0.2);
}

.info-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--brand-teal-light);
  border-radius: 1rem;
  padding: 1.25rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-info {
  background-color: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-warning {
  color: #212529;
  background-color: #ffc107;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.info-item {
  padding: 0.5rem 0;
}

.hover-card {
  background-color: white;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.hover-card:hover {
  border-color: var(--brand-teal-light);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.form-check-input-custom {
  width: 3rem;
  height: 1.5rem;
  background-color: #e2e8f0;
  border-radius: 9999px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.form-check-input-custom::before {
  content: '';
  position: absolute;
  top: 0.125rem;
  right: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  background-color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked ~ .form-check-input-custom {
  background-color: var(--brand-teal);
}

input:checked ~ .form-check-input-custom::before {
  transform: translateX(-1.25rem);
}

.save-button-container {
  display: inline-block;
}

.btn-save {
  background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-dark) 100%);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(15, 165, 154, 0.3);
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 165, 154, 0.4);
}

/* Font size for labels on desktop screens (default) */
.settings-form-container label.d-block,
.settings-form-container label.fs-5 {
  font-size: 18px !important;
  line-height: 1.3;
}

.info-box h3.fw-bold {
  font-size: 18px !important;
  line-height: 1.3;
}

/* Settings Section Responsive Design */
@media (max-width: 575.98px) {
  .settings-header h1 {
    font-size: 1.25rem !important;
    line-height: 1.4;
  }

  .settings-header p {
    font-size: 0.875rem !important;
    line-height: 1.5;
  }

  .custom-card {
    padding: 1rem;
    border-radius: 0.75rem;
  }

  .custom-card h2 {
    font-size: 1rem !important;
  }

  .custom-card h3 {
    font-size: 0.875rem !important;
  }

  .custom-card .fs-4 {
    font-size: 1.125rem !important;
  }

  .custom-card .fs-5 {
    font-size: 0.875rem !important;
  }

  .custom-card .fw-bold {
    font-size: 0.875rem !important;
  }

  .custom-card .text-sm {
    font-size: 0.75rem !important;
  }

  .custom-card .fw-medium {
    font-size: 0.75rem !important;
  }

  .settings-form-container > div {
    padding: 1rem !important;
    border-radius: 1rem !important;
  }

  .settings-form-container label.d-block {
    font-size: 16px !important;
    padding: 1rem !important;
  }

  .settings-form-container label.fs-5 {
    font-size: 16px !important;
  }

  .info-box h3.fw-bold {
    font-size: 16px !important;
  }

  .form-control-custom,
  .form-control-custom-white {
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
  }

  .btn-brand {
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
  }

  .btn-outline-brand {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
  }

  .info-box {
    padding: 1rem;
  }

  .badge-status {
    font-size: 0.688rem;
    padding: 0.25rem 0.5rem;
  }

  .hover-card {
    padding: 0.75rem 1rem;
  }

  .hover-card .fw-bold {
    font-size: 1rem;
  }

  .hover-card .text-sm {
    font-size: 0.75rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .custom-card {
    padding: 1.25rem;
  }

  .settings-form-container > div {
    padding: 1.25rem !important;
  }

  .info-box {
    padding: 1.125rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .max-w-4xl {
    max-width: 48rem !important;
  }
}

/* Settings Form Container Spacing */
.settings-form-container > div {
  margin-bottom: 1rem;
}

.settings-form-container > div:last-child {
  margin-bottom: 0;
}

/* Space Y Utility */
.space-y-3 > * + * {
  margin-top: 1rem;
}

/* Fade In Up Animation */
.fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Arrange Achievements Section Styles */
.arrange-achievements-container {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1rem;
}

.achievement-item {
  background: white;
  padding: 1rem;
  border-radius: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  cursor: grab;
}

.achievement-item.group {
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  cursor: pointer;
}

.achievement-item:hover {
  border-color: rgba(15, 165, 154, 0.5);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.achievement-item.active {
  cursor: grabbing;
}

.drag-indicator {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(243, 244, 246, 0.5);
  color: var(--brand-grey);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.achievement-item:hover .drag-indicator {
  background: var(--brand-teal-light);
  color: var(--brand-teal);
}

.achievement-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-grey-light);
  background: rgba(55, 65, 81, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

/* Main Container Responsive Design */
.main-container {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0.75rem;
  padding-bottom: 5rem;
}

@media (max-width: 575.98px) {
  .main-container {
    padding-top: 0.75rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .main-container {
    max-width: 48rem !important;
  }
}

/* Reports Section Styles */
.reports-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 5rem;
  padding-top: 1.5rem;
}

.reports-header {
  margin-bottom: 2rem;
}

.reports-header h1 {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--brand-accent);
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.2;
}

.reports-badge {
  font-size: 1rem;
  font-weight: 400;
  color: var(--brand-grey);
  background-color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.reports-header p {
  color: var(--brand-grey);
  margin-top: 0.5rem;
  font-weight: 500;
  font-family: 'Readex Pro', sans-serif;
}

.btn-add-report {
  background-color: var(--brand-teal);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(15, 165, 154, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  font-family: 'Readex Pro', sans-serif;
}

.btn-add-report:hover {
  background-color: var(--brand-teal-dark);
  transform: translateY(-2px);
}

.btn-add-report:active {
  transform: translateY(0);
}

.btn-add-report .material-symbols-outlined {
  transition: transform 0.3s ease;
}

.btn-add-report:hover .material-symbols-outlined {
  transform: rotate(90deg);
}

.reports-table {
  background-color: white;
  border-radius: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}

.table-responsive-custom {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive-custom::-webkit-scrollbar {
  height: 6px;
}

.table-responsive-custom::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.table-responsive-custom::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.table-responsive-custom::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.reports-table table {
  width: 100%;
  text-align: right;
  border-collapse: collapse;
  font-family: 'Readex Pro', sans-serif;
}

.reports-table th {
  padding: 0.5rem 2rem;
  font-weight: 700;
  color: var(--brand-accent);
  font-size: 0.875rem;
  white-space: nowrap;
  background-color: rgba(243, 244, 246, 0.4);
  border-bottom: 1px solid #f1f5f9;
}

.reports-table td {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #f1f5f9;
}

.reports-table tbody tr {
  transition: background-color 0.3s ease;
}

.reports-table tbody tr:hover {
  background-color: rgba(224, 245, 243, 0.1);
}

.report-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background-color: rgba(224, 245, 243, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  border: 1px solid rgba(15, 165, 154, 0.1);
  flex-shrink: 0;
}

.report-info {
  display: flex;
  flex-direction: column;
}

.report-info .report-title {
  font-weight: 700;
  color: var(--brand-accent);
  font-size: 1.125rem;
  line-height: 1.4;
}

.report-info .report-date {
  font-size: 0.75rem;
  color: var(--brand-grey);
  font-weight: 500;
  margin-top: 0.125rem;
}

.link-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.375rem 0.5rem;
  transition: all 0.3s ease;
  width: fit-content;
}

.link-container:hover {
  border-color: rgba(15, 165, 154, 0.3);
}

.link-container .link-text {
  font-size: 0.875rem;
  font-family: monospace;
  color: var(--brand-grey-dark);
  direction: ltr;
  font-weight: 700;
  padding: 0 0.25rem;
}

.link-container .copy-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-teal);
  padding: 0 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

.link-container .copy-btn:hover {
  color: var(--brand-teal-dark);
}

.link-divider {
  width: 1px;
  height: 1rem;
  background-color: #cbd5e1;
  margin: 0 0.25rem;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: white;
  border: 1px solid #e2e8f0;
  color: var(--brand-grey-dark);
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.action-btn:hover {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  background-color: rgba(224, 245, 243, 0.2);
}

.action-btn.edit:hover {
  color: #2563eb;
  border-color: #dbeafe;
  background-color: #eff6ff;
}

.action-btn.delete:hover {
  color: #ef4444;
  border-color: #fecaca;
  background-color: #fef2f2;
}

.action-btn .material-symbols-outlined {
  font-size: 20px;
}

.table-footer {
  background-color: #f8fafc;
  padding: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--brand-grey);
  font-weight: 500;
  font-family: 'Readex Pro', sans-serif;
}

.link-container .copy-btn {
  background-color: var(--brand-teal-light);
  border-radius: 0.25rem;
  padding: 5px;
}

/* Help Section Styles */
.help-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 5rem;
  padding-top: 1.5rem;
}

.help-header h1 {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--brand-accent);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.help-header p {
  color: var(--brand-grey);
  margin-top: 0.5rem;
  font-weight: 500;
  font-family: 'Readex Pro', sans-serif;
}

.help-sidebar {
  position: sticky;
  top: 1.5rem;
}

.help-sidebar-content {
  background-color: white;
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  overflow: hidden;
}

.help-sidebar h3 {
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 1rem;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.25rem;
}

.help-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.help-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-align: right;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Readex Pro', sans-serif;
}

.help-nav-btn.active {
  background-color: var(--brand-teal);
  color: white !important;
  box-shadow: 0 10px 15px -3px rgba(15, 165, 154, 0.2);
}

.help-nav-btn:not(.active) {
  color: var(--brand-grey-dark);
  background-color: rgba(243, 244, 246, 0.2);
}

.help-nav-btn:not(.active):hover {
  background-color: rgba(224, 245, 243, 0.5);
  color: var(--brand-teal) !important;
}

.help-nav-btn .material-symbols-outlined {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.help-nav-btn:hover .material-symbols-outlined {
  transform: scale(1.1);
}

.help-content-card {
  background-color: white;
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  margin-bottom: 2rem;
}

.help-section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.help-section-icon {
  padding: 0.625rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-section-icon.teal {
  background-color: rgba(224, 245, 243, 0.5);
  color: var(--brand-teal);
}

.help-section-icon.red {
  background-color: rgba(254, 226, 226, 0.5);
  color: #ef4444;
  box-shadow: 0 1px 2px 0 rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(254, 202, 202, 1);
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #1e293b;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border: 4px solid rgba(243, 244, 246, 0.5);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, rgba(0, 0, 0, 0.2));
}

.video-play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-icon {
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.video-container:hover .video-play-icon {
  transform: scale(1.1);
}

.video-play-icon .material-symbols-outlined {
  color: white;
  font-size: 3rem;
  margin-left: 0.25rem;
  font-variation-settings: 'FILL' 1;
}

.video-duration {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.375rem 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  border-radius: 0.5rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.help-prose {
  border-top: 1px solid #f1f5f9;
  padding-top: 2rem;
  margin-top: 2rem;
  color: var(--brand-grey-dark);
  font-family: 'Readex Pro', sans-serif;
}

.help-prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.help-prose p {
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.help-highlight-box {
  background-color: rgba(224, 245, 243, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(15, 165, 154, 0.1);
}

.help-highlight-box h4 {
  font-weight: 700;
  color: var(--brand-teal-dark);
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.help-highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.help-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.help-highlight-number {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--brand-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.help-highlight-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.pdf-export-section {
  position: relative;
  overflow: hidden;
}

.pdf-export-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background-color: rgba(254, 226, 226, 0.5);
  border-radius: 50%;
  filter: blur(3rem);
  z-index: -1;
  transform: translate(-50%, -50%);
}

.pdf-export-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.pdf-export-grid .row {
  display: flex;
  gap: 2.5rem;
}

.pdf-export-grid .col-lg-5 {
  flex: 0 0 auto;
  width: 41.666667%;
}

.pdf-export-grid .col-lg-7 {
  flex: 1 1 0;
  width: 58.333333%;
}

.pdf-preview-card {
  flex: 1;
  background-color: rgba(243, 244, 246, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.pdf-preview-card:hover {
  transform: translateY(-0.5rem);
}

.pdf-icon-container {
  width: 7rem;
  height: 7rem;
  background-color: white;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  transition: transform 0.3s ease;
}

.pdf-preview-card:hover .pdf-icon-container {
  transform: translateY(-0.5rem);
}

.pdf-icon-container .material-symbols-outlined {
  font-size: 4.375rem;
  color: #ef4444;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.pdf-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pdf-btn {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Readex Pro', sans-serif;
}

.pdf-btn.primary {
  background-color: var(--brand-accent);
  color: white !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pdf-btn.primary:hover {
  background-color: #334155;
}

.pdf-btn.secondary {
  background-color: white;
  color: var(--brand-accent);
  border: 1px solid #e2e8f0;
}

.pdf-btn.secondary:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background-color: rgba(224, 245, 243, 0.1);
}

.pdf-instructions h3 {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--brand-accent);
  margin-bottom: 0.5rem;
}

.pdf-instructions p {
  color: var(--brand-grey);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.pdf-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pdf-step {
  display: flex;
  gap: 1rem;
}

.pdf-step-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.pdf-step-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(224, 245, 243, 0.2);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(15, 165, 154, 0.1);
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.pdf-step-line {
  width: 0.125rem;
  height: 100%;
  background-color: #f1f5f9;
  margin: 0.25rem 0;
  border-radius: 9999px;
}

.pdf-step-content {
  padding-bottom: 0.5rem;
  flex: 1;
}

.pdf-step-title {
  font-weight: 700;
  color: var(--brand-accent);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.pdf-step-desc {
  color: var(--brand-grey);
  font-size: 0.75rem;
  line-height: 1.625;
  margin-top: 0.25rem;
}

.kbd {
  background-color: #f1f5f9;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: #475569;
  border: 1px solid #e2e8f0;
  margin: 0 0.25rem;
}

.highlight-text {
  font-weight: 700;
  color: var(--brand-teal-dark);
  background-color: rgba(224, 245, 243, 0.15);
  padding: 0 0.25rem;
  border-radius: 0.25rem;
}

/* Help Section Responsive Design */
@media (max-width: 575.98px) {
  .help-container {
    padding-top: 1rem;
    padding-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .help-header h1 {
    font-size: 1.25rem !important;
  }

  .help-header p {
    font-size: 0.875rem !important;
  }

  .help-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }

  .help-sidebar-content {
    padding: 1rem;
  }

  .help-sidebar h3 {
    font-size: 1rem !important;
    margin-bottom: 0.75rem;
  }

  .help-nav-btn {
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
  }

  .help-nav-btn .material-symbols-outlined {
    font-size: 1.125rem !important;
  }

  .help-content-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .pdf-export-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .pdf-export-section .row {
    flex-direction: column;
    gap: 2rem;
  }

  .pdf-export-section .col-lg-5,
  .pdf-export-section .col-lg-7 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .pdf-export-section .pdf-preview-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(241, 245, 249, 0.8);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    text-align: center;
  }

  .pdf-export-section .pdf-icon-container {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.5rem auto;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  }

  .pdf-export-section .pdf-icon-container .material-symbols-outlined {
    font-size: 3rem;
    color: white;
  }

  .pdf-export-section .pdf-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .pdf-export-section .pdf-btn {
    padding: 1rem 1.5rem;
    border-radius: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .pdf-export-section .pdf-btn.primary {
    background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-dark) 100%);
    color: white;
    border: none;
  }

  .pdf-export-section .pdf-btn.secondary {
    background: white;
    color: var(--brand-teal);
    border: 2px solid var(--brand-teal-light);
  }

  .help-section-title {
    font-size: 1.25rem !important;
    margin-bottom: 1rem;
  }

  .help-section-icon {
    padding: 0.5rem;
  }

  .help-section-icon .material-symbols-outlined {
    font-size: 1.25rem;
  }

  .video-container {
    border-radius: 1rem;
  }

  .video-play-icon {
    width: 4rem;
    height: 4rem;
  }

  .video-play-icon .material-symbols-outlined {
    font-size: 2.5rem;
  }

  .video-duration {
    bottom: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }

  .help-prose {
    padding-top: 1.5rem;
  }

  .help-prose h3 {
    font-size: 1rem !important;
    margin-bottom: 0.75rem;
  }

  .help-prose p {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .help-highlight-box {
    padding: 1rem;
  }

  .help-highlight-box h4 {
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem;
  }

  .help-highlight-item {
    gap: 0.5rem;
  }

  .help-highlight-number {
    width: 1rem;
    height: 1rem;
    font-size: 0.5rem;
  }

  .help-highlight-text {
    font-size: 0.75rem;
  }

  .pdf-export-grid {
    gap: 1.5rem;
  }

  .pdf-preview-card {
    padding: 1.5rem;
  }

  .pdf-icon-container {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
  }

  .pdf-icon-container .material-symbols-outlined {
    font-size: 3rem;
  }

  .pdf-buttons-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .pdf-btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }

  .pdf-instructions h3 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem;
  }

  .pdf-instructions p {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .pdf-steps {
    gap: 1rem;
  }

  .pdf-step {
    gap: 0.75rem;
  }

  .pdf-step-circle {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
    aspect-ratio: 1/1;
  }

  .pdf-step-content {
    padding-bottom: 0.25rem;
  }

  .pdf-step-title {
    font-size: 0.75rem !important;
  }

  .pdf-step-desc {
    font-size: 0.688rem;
  }

  .kbd {
    font-size: 0.688rem;
    padding: 0.125rem 0.25rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .help-container {
    max-width: 48rem !important;
  }

  .help-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  .help-content-card {
    padding: 1.5rem;
  }

  .video-play-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .video-play-icon .material-symbols-outlined {
    font-size: 2.75rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .help-container {
    max-width: 48rem !important;
  }

  .help-sidebar-content {
    padding: 1.25rem;
  }

  .help-content-card {
    padding: 1.75rem;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .help-container {
    max-width: 60rem !important;
  }
}

@media (max-width: 575.98px) {
  .reports-container {
    padding-top: 1rem;
    padding-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .reports-header {
    margin-bottom: 0rem;
    width: 49%;
  }

  .reports-header h1 {
    font-size: 1.25rem !important;
  }

  .reports-header p {
    font-size: 0.875rem !important;
  }

  .reports-badge {
    font-size: 0.75rem !important;
    padding: 0.125rem 0.5rem;
  }

  .btn-add-report {
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
    min-width: fit-content;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .reports-table {
    border-radius: 1rem;
    margin-bottom: 1.5rem;
  }

  .table-responsive-custom {
    margin: 0 -1rem;
    padding: 0 1rem;
    border-radius: 1rem;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
    position: relative;
    width: 50%;
  }

  .table-responsive-custom::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to right, transparent, rgba(241, 245, 249, 0.9));
    pointer-events: none;
    z-index: 1;
  }

  .reports-table {
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
  }

  .reports-table table {
    min-width: 700px;
    width: 100%;
  }

  .reports-table th {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap;
  }

  .reports-table td {
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .report-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
  }

  .report-info .report-title {
    font-size: 0.875rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .report-info .report-date {
    font-size: 0.688rem;
  }

  .link-container {
    padding: 0.25rem 0.375rem;
    min-width: 200px;
  }

  .link-container .link-text {
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
  }

  .link-container .copy-btn {
    font-size: 0.688rem;
    padding: 0.25rem 0.5rem;
    background-color: var(--brand-teal-light);
    border-radius: 0.25rem;
    white-space: nowrap;
  }

  .link-divider {
    display: none;
  }

  .action-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
  }

  .action-btn .material-symbols-outlined {
    font-size: 18px !important;
  }

  .table-footer {
    font-size: 0.75rem;
    padding: 0.75rem;
    margin: 0 -1rem;
    border-radius: 0 0 1rem 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .reports-table th {
    padding: 0.5rem 1.5rem !important;
  }

  .reports-table td {
    padding: 1rem 1.5rem !important;
  }

  .reports-header h1 {
    font-size: 1.5rem !important;
  }

  .link-container .link-text {
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .reports-container {
    max-width: 48rem !important;
  }

  .reports-table th {
    padding: 0.5rem 1.75rem !important;
  }

  .reports-table td {
    padding: 1.125rem 1.75rem !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .reports-container {
    max-width: 60rem !important;
  }
}

/* Notes Section Responsive Design */
@media (max-width: 575.98px) {
  .main-container {
    padding: 1rem 0 3rem 0;
  }

  .main-container h1 {
    font-size: 1.25rem !important;
    line-height: 1.4;
  }

  .main-container p {
    font-size: 0.875rem !important;
    line-height: 1.5;
  }
  .fluent-template-card {
    border: 2px solid #0bb39c;
    padding: 0.5rem !important;
  }

  .notes-card {
    padding: 1rem;
    border-radius: 1rem;
    min-height: auto;
  }

  .timeline-item {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .timeline-number {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
    flex-shrink: 0;
    aspect-ratio: 1;
  }

  .timeline-number.active {
    box-shadow:
      0 4px 6px -1px rgb(0 0 0 / 0.1),
      0 0 0 3px white;
  }

  .note-card {
    padding: 1rem;
  }

  .date-badge {
    font-size: 0.688rem;
    padding: 0.188rem 0.5rem;
    gap: 0.25rem;
  }

  .btn-brand-teal {
    font-size: 0.688rem;
    padding: 0.188rem 0.625rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .main-container {
    padding: 1.25rem 0 4rem 0;
  }

  .notes-card {
    padding: 1.5rem;
  }

  .timeline-item {
    gap: 0.875rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .main-container {
    max-width: 48rem;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .main-container {
    max-width: 56rem;
  }
}

.glass-morphism {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.bg-grid-pattern {
  background-image: linear-gradient(rgba(15, 165, 154, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 165, 154, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

h1.display-6.fw-bolder.mb-0 {
  font-size: 1.875rem;
}

/* Mobile Menu Button Styles */
.btn.d-lg-none.border.rounded-3.d-flex.align-items-center.justify-content-center {
  background: #ffffff;
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  transition: all 0.3s ease;
}

.btn.d-lg-none.border.rounded-3.d-flex.align-items-center.justify-content-center:hover {
  background: #ffffff;
  color: white;
  transform: scale(1.05);
}

/* Settings Button Styles */
.btn.border.rounded-3.d-flex.align-items-center.justify-content-center {
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  transition: all 0.3s ease;
}

.btn.border.rounded-3.d-flex.align-items-center.justify-content-center:hover {
  background: var(--brand-teal);
  color: white;
  transform: scale(1.05);
}

/* Subscribe Button Enhancement */
.btn.text-white.fw-bold.px-4.py-2.rounded-3.d-flex.align-items-center.gap-2.d-none.d-sm-flex {
  background: var(--brand-teal);
  transition: all 0.3s ease;
}

.btn.text-white.fw-bold.px-4.py-2.rounded-3.d-flex.align-items-center.gap-2.d-none.d-sm-flex:hover {
  background: var(--brand-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 165, 154, 0.4);
}

button.btn.btn-link.text-decoration-none.p-2 {
  color: #0fa59a;
}

/* Notes Card Styles */
.notes-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.gradient-header {
  height: 4px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-teal-dark));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.timeline-container {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline-item {
  gap: 24px;
  position: relative;
}

.timeline-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.timeline-number.active {
  background: var(--brand-teal);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 165, 154, 0.3);
}

.timeline-number.inactive {
  background: var(--brand-grey-light);
  color: var(--brand-grey);
}

.timeline-number.read {
  background: var(--brand-accent);
  color: white;
  opacity: 0.7;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, #e2e8f0 0%, transparent 100%);
  margin-top: 8px;
}

.note-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.note-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.date-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-teal-light);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-teal-dark);
  border: 1px solid rgba(15, 165, 154, 0.2);
}

.btn-brand-teal {
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  border: 1px solid var(--brand-teal);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
}

.btn-brand-teal:hover {
  background: var(--brand-teal);
  color: white;
  transform: scale(1.05);
}

/* Timeline Animations */
.timeline-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body
  > div.app-layout.d-flex.w-100
  > main
  > div
  > div
  > div
  > div.alert.alert-success.d-flex.align-items-center.justify-content-between.fade-in-up
  > div
  > div
  > span {
  color: aliceblue;
}

.btn.border.rounded-3.d-flex.align-items-center.justify-content-center {
  background: #ffffff00;
}

.btn.border.rounded-3.d-flex.align-items-center.justify-content-center:hover {
  background: #ffffff !important;
}

.logo {
  width: 100%;
  height: 90%;
  border-radius: 18px;
  /* background: linear-gradient(135deg, #ffffff, #ffffff); */
  /* box-shadow: 0 15px 30px rgb(15 165 154 / 17%); */
  padding: 8px;
  object-fit: contain;
  margin: auto;
}

.logo-m {
  width: 70%;
  height: 70%;
  border-radius: 18px;
}

/* Logo Container Styles */
.p-2.d-flex.align-items-center.gap-3 {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  margin: 8px;
  padding: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(15, 165, 154, 0.1);
  transition: all 0.3s ease;
}

.p-2.d-flex.align-items-center.gap-3:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(15, 165, 154, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, 0.95));
}

.template-card {
  border-color: #e2e8f0;
}

.template-radio:checked + .template-card {
  border-color: var(--brand-teal);
  background-color: rgba(15, 165, 154, 0.02);
}

.template-radio:checked + .template-card .check-icon {
  opacity: 1;
  transform: scale(1);
}

.template-card:hover {
  border-color: var(--brand-teal);
}

.template-card:hover .check-icon {
  opacity: 0.7;
  transform: scale(0.9);
}

.form-control:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 0.25rem rgba(15, 165, 154, 0.2);
}

.form-control:hover {
  border-color: rgba(15, 165, 154, 0.5);
}

.form-control:focus {
  border-color: #0bb39c;
  box-shadow: 0 0 0 0.2rem rgba(11, 179, 156, 0.25);
}
a.bg-white.text-brand-greyDark.px-4.px-lg-6.py-3.rounded-xl.fw-bold.shadow-sm.border.border-slate-200.text-decoration-none.d-flex.align-items-center.gap-2.transition-all.hover\:bg-slate-50.hover\:text-brand-accent {
  color: #394352;
  border-radius: 0.75rem;
}

/* Template Cards - New Design */
.fluent-template-card {
  background: #ffffff;
  border: 0.5px solid #e1e5e9;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 4px;
}

.fluent-template-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.template-radio:checked + .fluent-template-card {
  border: 0.5px solid #0bb39c;
  background: rgba(11, 179, 156, 0.03);
  box-shadow: 0 4px 16px rgba(11, 179, 156, 0.2);
}

.fluent-preview {
  aspect-ratio: 1/1;
  background: #eef1f4;
  border-radius: 1rem;
  padding: 16px;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.fluent-header {
  margin-bottom: 8px;
}

.fluent-title-bar {
  height: 8px;
  width: 60px;
  background: #eef1f4;
  border-radius: 2px;
}

.fluent-content {
  display: flex;
  gap: 8px;
  height: calc(100% - 20px);
}

.fluent-sidebar {
  width: 20%;
  background: #eef1f4;
  border-radius: 4px;
}

.fluent-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fluent-line {
  height: 4px;
  background: #eef1f4;
  border-radius: 2px;
  margin-bottom: 4px;
}

.fluent-placeholder {
  flex: 1;
  background: #eef1f4;
  border-radius: 4px;
  border: 1px dashed #d0d7de;
}

.fluent-image {
  height: 40px;
  background: #eef1f4;
  border-radius: 4px;
  margin-bottom: 8px;
}

.fluent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 100%;
}

.fluent-grid-item {
  background: #eef1f4;
  border-radius: 4px;
  border: 1px solid #e1e5e9;
}

.fluent-cover {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fluent-cover-bar {
  height: 30%;
  background: #eef1f4;
  border-radius: 4px 4px 0 0;
  margin-bottom: 8px;
}

.fluent-cover-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 8px;
}

.fluent-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: #0bb39c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  color: white;
  box-shadow: 0 2px 4px rgba(11, 179, 156, 0.3);
}

.fluent-check .material-symbols-outlined {
  font-size: 14px;
}

.template-radio:checked + .fluent-template-card .fluent-check {
  opacity: 1;
  transform: scale(1);
}

.fluent-info {
  padding: 20px 16px;
  text-align: center;
  flex-shrink: 0;
}

.fluent-name {
  font-family: 'Readex Pro';
  font-size: 18px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
  line-height: 1.4;
}

.fluent-desc {
  font-family: 'Readex Pro';
  font-size: 14px;
  color: #8a8f98;
  line-height: 1.5;
}

.fluent-template-card:hover .fluent-name {
  color: #0bb39c;
}

.fluent-info {
  padding: 5px 11px;
  text-align: center;
  flex-shrink: 0;
}

/* RTL Support */
[dir='rtl'] .fluent-check {
  left: 22px;
  right: auto;
  top: 22px;
}

[dir='rtl'] .fluent-content {
  direction: ltr;
}

[dir='rtl'] .fluent-info {
  direction: rtl;
}

.template-radio:checked + .fluent-template-card {
  border: 2px solid #0bb39c;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(11, 179, 156, 0.03);
  box-shadow: 0 4px 16px rgba(11, 179, 156, 0.2);
}

/* Template label padding adjustments */
label.d-block.cursor-pointer.position-relative {
  padding: 0.25rem;
}

/* Mobile responsive adjustments */
@media (max-width: 575.98px) {
  label.d-block.cursor-pointer.position-relative {
    padding: 0.125rem;
  }

  .fluent-name {
    font-size: 14px !important;
  }

  .fluent-desc {
    font-size: 11px !important;
  }
  .row.g-4.xg-2 {
    --bs-gutter-y: 0.25rem !important;
    --bs-gutter-y: 0.25rem !important;
  }
  .col-6.col-md-6.col-lg-3.card-s {
    padding-left: 0px;
    padding-right: 0px;
  }

  .cv-form-title {
    font-size: 1.25rem !important;
  }

  /* Icon containers square shape on mobile */
  .cv-form-icon,
  .qualifications-icon,
  .work-experience-icon,
  .training-courses-icon,
  .skills-icon,
  .national-address-icon {
    width: 5rem !important;
    height: 3rem !important;
    border-radius: 0.5rem !important;
  }

  /* Smaller icons on mobile */
  .cv-form-icon .material-symbols-outlined,
  .qualifications-icon .material-symbols-outlined,
  .work-experience-icon .material-symbols-outlined,
  .training-courses-icon .material-symbols-outlined,
  .skills-icon .material-symbols-outlined,
  .national-address-icon .material-symbols-outlined {
    font-size: 2rem !important;
  }
}

/* CV Section Styles */
.cv-container {
  flex: 1 1 0%;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  position: relative;
}

.cv-content {
  max-width: 72rem;
  margin: 0 auto;
  margin-top: 0.5rem;
  padding: 0 1.5rem;
}

.cv-bg-orb {
  position: fixed;
  top: 8rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(15, 165, 154, 0.05);
  border-radius: 50%;
  filter: blur(3rem);
  z-index: -10;
  pointer-events: none;
}

.cv-nav-tabs {
  display: flex;
  align-items: center;
  padding: 0.375rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  width: fit-content;
  position: relative;
  overflow: hidden;
  background: var(--bg-card) !important;
  border-color: var(--new-border) !important;
}

.cv-nav-tabs::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 165, 154, 0.1),
    rgba(15, 165, 154, 0.2),
    rgba(15, 165, 154, 0.1),
    transparent
  );
  animation: elegantSweep 8s ease-in-out infinite;
  z-index: 1;
}

.cv-nav-tabs::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 1.0625rem;
  background: linear-gradient(45deg, var(--brand-teal), transparent 30%, transparent 70%, var(--brand-teal));
  opacity: 0;
  animation: elegantBorder 10s ease-in-out infinite;
  z-index: 0;
}

@keyframes elegantSweep {
  0%,
  100% {
    left: -100%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  50% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes elegantBorder {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.02);
  }
}

.cv-nav-tab {
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.cv-nav-tab.active {
  background: var(--brand-teal);
  color: white !important;
  box-shadow: 0 10px 15px -3px rgba(15, 165, 154, 0.2);
}

.cv-nav-tab:not(.active) {
  color: var(--brand-grey) !important;
}

.cv-nav-tab:not(.active):hover {
  background: white;
  color: var(--brand-teal) !important;
}

.cv-subnav-container {
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.cv-subnav-scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

/* Add scroll indicators */
.cv-subnav-scroll::before,
.cv-subnav-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;

  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cv-subnav-scroll::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.cv-subnav-scroll::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.cv-subnav-scroll.scrollable-start::before {
  opacity: 1;
}

.cv-subnav-scroll.scrollable-end::after {
  opacity: 1;
}

.cv-subnav-scroll::-webkit-scrollbar {
  height: 4px;
}

.cv-subnav-scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}

.cv-subnav-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.cv-subnav-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.cv-subnav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: all 0.3s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.cv-subnav-link.active {
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  border: 1px solid rgba(15, 165, 154, 0.2);
}

.cv-subnav-link:not(.active) {
  background: white;
  color: var(--brand-grey-dark) !important;
  border: 1px solid transparent;
}

.cv-subnav-link:not(.active):hover {
  border-color: rgba(15, 165, 154, 0.1);
  background: rgba(15, 165, 154, 0.05);
  color: var(--brand-teal) !important;
}

/* Responsive layout: 2 items per row on small screens */
@media (max-width: 575.98px) {
  .cv-subnav-scroll {
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow: visible;
  }

  .cv-subnav-link {
    flex: 0 0 calc(50% - 0.5rem);
    justify-content: center;
    text-align: center;
    padding: 0.65rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* Responsive layout: 3 items per row on iPad screens */
@media (min-width: 576px) and (max-width: 1024px) {
  .cv-subnav-scroll {
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow: visible;
  }

  .cv-subnav-link {
    flex: 0 0 calc(33.333% - 0.33rem);
    justify-content: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }
}

.cv-form-card {
  width: 100%;
  background: white;
  border-radius: 2.5rem;
  padding: 2rem 3rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.cv-form-header {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cv-form-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--brand-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.cv-form-icon .material-symbols-outlined {
  font-size: 1.75rem;
}

.cv-form-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-accent);
}

.cv-form-subtitle {
  color: var(--brand-grey) !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.cv-photo-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  background: rgba(241, 245, 249, 0.3);
  border-radius: 1.5rem;
  border: 2px dashed rgba(241, 245, 249, 0.5);
}

.cv-photo-container {
  position: relative;
}

.cv-photo {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.cv-photo-container:hover .cv-photo {
  transform: scale(1.05);
}

.cv-photo-edit {
  position: absolute;
  bottom: 0.25rem;
  right: 0.25rem;
  width: 2rem;
  height: 2rem;
  background: var(--brand-teal);
  color: white;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.cv-photo-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: start;
}

.cv-photo-info h4 {
  font-weight: 700;
  color: var(--brand-accent);
  font-size: 1rem;
}

.cv-photo-info p {
  font-size: 0.75rem;
  color: var(--brand-grey) !important;
  max-width: 20rem;
}

.cv-upload-btn {
  margin-top: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--brand-teal);
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cv-upload-btn:hover {
  background: var(--brand-teal);
  color: white;
}

.cv-form-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .cv-form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

.cv-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cv-form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-color-sd);
  padding-right: 0.25rem;
}

.cv-form-input-wrapper {
  position: relative;
}

.cv-form-input {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 1.75rem;
  background: rgba(241, 245, 249, 0.5);
  border: 1px solid transparent;
  border-radius: 1rem;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--brand-accent);
  background: var(--bg-card) !important;
  border-color: var(--new-border) !important;
  direction: rtl !important;
}

.cv-form-input:focus {
  background: #fff;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(15, 165, 154, 0.1);
  outline: none;
}

.cv-form-input::placeholder {
  color: #9ca3af;
}

.cv-form-icon-input {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}
.date-start:focus,
.date-end:focus {
  border: none !important;
}
.cv-form-select {
  appearance: none;
  cursor: pointer;
}

.cv-form-actions {
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
}

.cv-save-btn {
  width: 100%;
  background: linear-gradient(to right, var(--brand-teal), #0d9488);
  color: white;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(15, 165, 154, 0.2);
  transition: all 0.3s ease;
  transform: translateY(0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: none;
}

.cv-save-btn:hover {
  background: linear-gradient(to right, #0d9488, var(--brand-teal));
  transform: translateY(-0.25rem);
}

@media (min-width: 768px) {
  .cv-save-btn {
    width: auto;
  }
}

.cv-spacer {
  height: 2rem;
}

/* Mobile responsive adjustments */
@media (max-width: 575.98px) {
  .cv-container {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
  }

  .cv-form-card {
    padding: 1.5rem;
  }

  .cv-nav-tab {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .cv-subnav-link {
    padding: 0.6rem;
    font-size: 0.75rem;
  }

  .cv-photo-section {
    padding: 1rem;
    gap: 1rem;
    flex-direction: column;
  }

  .cv-photo-info {
    align-items: center;
    text-align: center;
  }

  .cv-upload-btn {
    align-self: center;
  }

  .cv-photo {
    width: 6rem;
    height: 6rem;
  }
}

.fluent-template-card {
  background: #ffffff;
  border: 2px solid #e1e5e9;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
}

/* Qualifications Section Styles */
.qualifications-card {
  width: 100%;
  background: white;
  border-radius: 2.5rem;
  padding: 3rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.qualifications-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .qualifications-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.qualifications-title-group {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.qualifications-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--brand-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.qualifications-icon .material-symbols-outlined {
  font-size: 1.75rem;
}

.qualifications-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-accent);
}

.qualifications-subtitle {
  color: var(--brand-grey) !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.qualifications-add-btn {
  background: var(--brand-teal);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(15, 165, 154, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  transform: translateY(0);
  border: none;
}

.qualifications-add-btn:hover {
  background: var(--brand-teal-dark);
  transform: translateY(-0.125rem);
}

.qualifications-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qualification-item {
  position: relative;
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.qualification-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(15, 165, 154, 0.3);
}

.qualification-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .qualification-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.qualification-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.qualification-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--brand-grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-grey-dark);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .qualification-badge {
    margin-top: 0;
  }
}

.qualification-details {
  flex: 1;
}

.qualification-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 0.25rem;
}

.qualification-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--brand-grey);
}

@media (min-width: 640px) {
  .qualification-meta {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.qualification-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.qualification-divider {
  display: none;
  width: 0.25rem;
  height: 0.25rem;
  background: rgba(156, 163, 175, 0.4);
  border-radius: 50%;
}

@media (min-width: 640px) {
  .qualification-divider {
    display: block;
  }
}

.qualification-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .qualification-actions {
    width: auto;
  }
}

.qualification-btn {
  padding: 0.625rem;
  border-radius: 0.75rem;
  color: var(--brand-grey);
  transition: all 0.3s ease;
  border: none;
  background: transparent;
}

.qualification-btn-edit:hover {
  background: var(--brand-teal-light);
  color: var(--brand-teal);
}

.qualification-btn-delete:hover {
  background: #fef2f2;
  color: #ef4444 !important;
}

/* Mobile responsive adjustments for qualifications */
@media (max-width: 575.98px) {
  .qualifications-card {
    padding: 1.5rem;
  }

  .qualifications-header {
    margin-bottom: 1.5rem;
  }

  .qualifications-title {
    font-size: 1.25rem;
  }

  .qualification-item {
    padding: 1rem;
  }

  .qualification-badge {
    width: 2.5rem;
    height: 2.5rem;
  }

  .qualification-name {
    font-size: 1rem;
  }
}

/* Work Experience Section Styles */
.work-experience-card {
  width: 100%;
  background: white;
  border-radius: 2.5rem;
  padding: 3rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.work-experience-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .work-experience-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.work-experience-title-group {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.work-experience-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--brand-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.work-experience-icon .material-symbols-outlined {
  font-size: 1.75rem;
}

.work-experience-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-accent);
}

.work-experience-subtitle {
  color: var(--brand-grey) !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.work-experience-add-btn {
  background: var(--brand-teal);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(15, 165, 154, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  flex-shrink: 0;
}

.work-experience-add-btn:hover {
  background: var(--brand-teal-dark);
}

.work-experience-add-btn .material-symbols-outlined {
  transition: transform 0.3s ease;
}

.work-experience-add-btn:hover .material-symbols-outlined {
  transform: rotate(90deg);
}

.work-experience-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.work-experience-item {
  padding: 1.25rem;
  border: 1px solid rgba(15, 165, 154, 0.3);
  background: #fcfefe;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.work-experience-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.work-experience-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0.25rem;
  height: 100%;
  background: var(--brand-teal);
}

.work-experience-item.past {
  border: 2px dashed var(--brand-grey-light);
}

.work-experience-item.past:hover {
  border-color: var(--brand-grey);
  background: #f8fafc;
}

.work-experience-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .work-experience-content {
    flex-direction: row;
    align-items: center;
  }
}

.work-experience-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.work-experience-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: white;
  border: 1px solid rgba(15, 165, 154, 0.1);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.work-experience-item.past .work-experience-badge {
  background: rgba(156, 163, 175, 0.5);
  color: var(--brand-grey);
  border: none;
}

.work-experience-details {
  flex: 1;
}

.work-experience-name {
  font-weight: 700;
  color: var(--brand-accent);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.work-experience-company {
  color: var(--brand-grey) !important;
  font-weight: 500;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.work-experience-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--brand-grey-dark);
  width: 100%;
}

@media (min-width: 768px) {
  .work-experience-meta {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .work-experience-meta {
    width: auto;
  }
}

.work-experience-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid rgba(156, 163, 175, 0.6);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.work-experience-date .material-symbols-outlined {
  color: var(--brand-teal);
  font-size: 1.125rem;
}

.work-experience-date-dir {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  direction: ltr;
}

.work-experience-status {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.work-experience-status.active {
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  border: 1px solid rgba(15, 165, 154, 0.2);
}

.work-experience-status.past {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.work-experience-status-indicator {
  position: relative;
  display: flex;
  height: 0.5rem;
  width: 0.5rem;
}

.work-experience-status-indicator .animate-ping {
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.work-experience-status-indicator .animate-ping {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--brand-teal);
  opacity: 0.75;
}

.work-experience-status-indicator .relative {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  height: 0.5rem;
  width: 0.5rem;
  background-color: var(--brand-teal);
}

.work-experience-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-end;
}

@media (min-width: 1024px) {
  .work-experience-actions {
    align-self: center;
  }
}

.work-experience-item.past .work-experience-actions {
  opacity: 0.6;
}

.work-experience-item.past:hover .work-experience-actions {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.work-experience-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--brand-grey-light);
  background: white;
  color: var(--brand-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.work-experience-btn:hover {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  background: var(--brand-teal-light);
}

.work-experience-btn.delete:hover {
  color: #ef4444;
  border-color: #fecaca;
  background: #fef2f2;
}

.work-experience-btn .material-symbols-outlined {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.work-experience-btn:hover .material-symbols-outlined {
  transform: scale(1.1);
}

.work-experience-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
}

.work-experience-save-btn {
  width: 100%;
  background: var(--brand-accent);
  color: white;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(55, 65, 81, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: none;
}

@media (min-width: 768px) {
  .work-experience-save-btn {
    width: auto;
  }
}

.work-experience-save-btn:hover {
  background: var(--brand-grey-dark);
}

.work-experience-save-btn .material-symbols-outlined {
  transform: rotate(180deg);
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Mobile responsive adjustments for work experience */
@media (max-width: 575.98px) {
  .work-experience-card {
    padding: 1.5rem;
  }

  .work-experience-header {
    margin-bottom: 1.5rem;
  }

  .work-experience-title {
    font-size: 1.25rem;
  }

  .work-experience-item {
    padding: 1rem;
  }

  .work-experience-badge {
    width: 2.5rem;
    height: 2.5rem;
  }

  .work-experience-name {
    font-size: 1rem;
  }

  .work-experience-btn {
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* Training Courses Section Styles */
.training-courses-card {
  width: 100%;
  background: white;
  border-radius: 2.5rem;
  padding: 3rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.training-courses-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.training-courses-title-group {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.training-courses-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--brand-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.training-courses-icon .material-symbols-outlined {
  font-size: 1.75rem;
}

.training-courses-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-accent);
}

.training-courses-subtitle {
  color: var(--brand-grey) !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.training-courses-add-btn-desktop {
  display: none;
  background: var(--brand-teal);
  color: white;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(15, 165, 154, 0.2);
  transition: all 0.3s ease;
  border: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .training-courses-add-btn-desktop {
    display: flex;
  }
}

.training-courses-add-btn-desktop:hover {
  background: var(--brand-teal-dark);
}

.training-courses-add-btn-mobile {
  display: flex;
  width: 100%;
  background: var(--brand-teal);
  color: white;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(15, 165, 154, 0.2);
  transition: all 0.3s ease;
  border: none;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .training-courses-add-btn-mobile {
    display: none;
  }
}

.training-courses-add-btn-mobile:hover {
  background: var(--brand-teal-dark);
}

.training-courses-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.training-course-item {
  background: rgba(156, 163, 175, 0.3);
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .training-course-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.training-course-item:hover {
  background: white;
  border-color: rgba(15, 165, 154, 0.2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.training-course-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.training-course-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: white;
  border: 1px solid #f1f5f9;
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.training-course-item:hover .training-course-badge {
  background: var(--brand-teal-light);
  color: var(--brand-teal-dark);
}

.training-course-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.training-course-name {
  font-weight: 700;
  color: var(--brand-accent);
  font-size: 1.125rem;
}

.training-course-duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-grey);
  font-size: 0.875rem;
}

.training-course-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .training-course-item:hover .training-course-actions {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .training-course-actions {
    opacity: 1;
  }
}

.training-course-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: white;
  border: 1px solid #e2e8f0;
  color: var(--brand-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.training-course-btn:hover {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  background: var(--brand-teal-light);
}

.training-course-btn.delete:hover {
  color: #ef4444;
  border-color: #fecaca;
  background: #fef2f2;
}

.training-course-btn .material-symbols-outlined {
  font-size: 1.25rem;
}

.training-course-add-card {
  border: 2px dashed #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.6;
}

.training-course-add-card:hover {
  background: #f8fafc;
  opacity: 1;
}

.training-course-add-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.training-course-add-text {
  font-weight: 500;
  color: #64748b;
}

/* Mobile responsive adjustments for training courses */
@media (max-width: 575.98px) {
  .training-courses-card {
    padding: 1.5rem;
  }

  .training-courses-header {
    margin-bottom: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .training-courses-title {
    font-size: 1.25rem;
  }

  .training-course-item {
    padding: 1rem;
  }

  .training-course-badge {
    width: 2.5rem;
    height: 2.5rem;
  }

  .training-course-name {
    font-size: 1rem;
  }

  .training-course-btn {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.training-course-item {
  background-color: #fbfcfc;
}

/* Skills Section Styles */
.skills-card {
  width: 100%;
  background: white;
  border-radius: 2.5rem;
  padding: 3rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.skills-header {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.skills-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--brand-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.skills-icon .material-symbols-outlined {
  font-size: 1.75rem;
}

.skills-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-accent);
}

.skills-subtitle {
  color: var(--brand-grey) !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.skills-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  padding: 1.5rem;
  background: #fdfdfd;
  border: 1px solid var(--brand-grey-light);
  border-radius: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: white;
  border-color: rgba(15, 165, 154, 0.2);
  box-shadow: 0 10px 15px -3px rgba(15, 165, 154, 0.05);
}

.skill-delete-btn {
  position: absolute;
  top: 0.3rem;
  left: 1rem;
  padding: 0.5rem;
  color: #d1d5db;
  background: transparent;
  border: none;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.skill-delete-btn:hover {
  color: #ef4444;
  background: #fef2f2;
}

.skill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 1280px) {
  .skill-grid {
    grid-template-columns: 4fr 8fr;
  }
}

.skill-name-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-color-sd);
  padding-right: 0.25rem;
}

.skill-input-wrapper {
  position: relative;
}

.skill-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--brand-accent);
  background: var(--bg-card) !important;
  border-color: var(--new-border) !important;
}

.skill-input:focus {
  border-color: var(--brand-teal);
  outline: none;
  box-shadow: 0 0 0 1px var(--brand-teal);
}

.skill-input::placeholder {
  color: #9ca3af;
}

.skill-level-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-level-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .skill-level-options {
    grid-template-columns: repeat(5, 1fr);
  }
}

.skill-level-label {
  position: relative;
  cursor: pointer;
}

.skill-level-radio {
  position: absolute;
  opacity: 0;
}

.skill-level-option {
  width: 100%;
  padding: 0.875rem 0.5rem;
  border-radius: 0.75rem;
  background: white;
  border: 1px solid #e2e8f0;
  color: var(--brand-grey-dark);
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.skill-level-option:hover {
  border-color: rgba(15, 165, 154, 0.5);
}

.skill-level-radio:checked + .skill-level-option {
  background: var(--brand-teal);
  color: white;
  border-color: var(--brand-teal);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.skill-add-btn {
  width: 100%;
  padding: 1.25rem;
  border: 2px dashed rgba(15, 165, 154, 0.3);
  background: rgba(15, 165, 154, 0.05);
  border-radius: 1.5rem;
  color: var(--brand-teal);
  font-weight: 700;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
}

.skill-add-btn:hover {
  background: var(--brand-teal);
  color: white;
}

.skill-add-btn .material-symbols-outlined {
  transition: transform 0.3s ease;
}

.skill-add-btn:hover .material-symbols-outlined {
  transform: rotate(90deg);
}

.skills-footer {
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
}

.skills-save-btn {
  width: 100%;
  background: linear-gradient(to right, var(--brand-teal), #0d9488);
  color: white;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(15, 165, 154, 0.2);
  transition: all 0.3s ease;
  transform: translateY(0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: none;
}

@media (min-width: 768px) {
  .skills-save-btn {
    width: auto;
  }
}

.skills-save-btn:hover {
  background: linear-gradient(to right, #0d9488, var(--brand-teal));
  transform: translateY(-0.25rem);
}

/* Mobile responsive adjustments for skills */
@media (max-width: 575.98px) {
  .skills-card {
    padding: 1.5rem;
  }

  .skills-header {
    margin-bottom: 1.5rem;
  }

  .skills-title {
    font-size: 1.25rem;
  }

  .skill-item {
    padding: 1rem;
  }

  .skill-level-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

button.skill-add-btn {
  border: 2px dashed #aee0dd;
}

/* National Address Section Styles */
.national-address-card {
  width: 100%;
  background: white;
  border-radius: 2.5rem;
  padding: 3rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.national-address-header {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.national-address-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--brand-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.national-address-icon .material-symbols-outlined {
  font-size: 1.75rem;
}

.national-address-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-accent);
}

.national-address-subtitle {
  color: var(--brand-grey) !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.national-address-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.national-address-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .national-address-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.national-address-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.national-address-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-color-sd);
  padding-right: 0.25rem;
}

.national-address-input-wrapper {
  position: relative;
}

.national-address-input {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 1.75rem;
  background: #f9f9fa;
  border: 1px solid transparent;
  border-radius: 1rem;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--brand-accent);
  background: var(--bg-card) !important;
  border-color: var(--new-border) !important;
}

.national-address-input:focus {
  background: white;
  border-color: var(--brand-teal);
  outline: none;
}

.national-address-input::placeholder {
  color: #9ca3af;
}

.national-address-icon-input {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.national-address-footer {
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
}

.national-address-save-btn {
  width: 100%;
  background: linear-gradient(to right, var(--brand-teal), #0d9488);
  color: white;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(15, 165, 154, 0.2);
  transition: all 0.3s ease;
  transform: translateY(0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: none;
}

@media (min-width: 768px) {
  .national-address-save-btn {
    width: auto;
  }
}

.national-address-save-btn:hover {
  background: linear-gradient(to right, #0d9488, var(--brand-teal));
  transform: translateY(-0.25rem);
}

/* Mobile responsive adjustments for national address */
@media (max-width: 575.98px) {
  .national-address-card {
    padding: 1.5rem;
  }

  .national-address-header {
    margin-bottom: 1.5rem;
  }

  .national-address-title {
    font-size: 1.25rem;
  }

  .national-address-form {
    gap: 1.5rem;
  }

  .national-address-grid {
    gap: 1.5rem;
  }
}

/* Tab System Styles */
.cv-tab-content {
  display: none;
}

.cv-tab-content.active {
  display: block;
}

.cv-subnav-link {
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cv-subnav-link:hover {
  color: var(--brand-teal);
  background: rgba(15, 165, 154, 0.05);
}

.cv-subnav-link.active {
  color: var(--brand-teal);
  background: rgba(15, 165, 154, 0.1);
  font-weight: 600;
}

/* Smooth transitions for tab switching */
.cv-form-card,
.qualifications-card,
.work-experience-card,
.training-courses-card,
.skills-card,
.national-address-card {
  transition: transform 0.3s ease;
}

.cv-tab-content.active .cv-form-card,
.cv-tab-content.active .qualifications-card,
.cv-tab-content.active .work-experience-card,
.cv-tab-content.active .training-courses-card,
.cv-tab-content.active .skills-card,
.cv-tab-content.active .national-address-card {
  transform: translateY(0);
}

.icon-wrapper.d-flex.align-items-center.justify-center.rounded-circle {
  display: flex;
  justify-content: space-evenly;
}

.icon-wrapper.d-flex.align-items-center.justify-center.rounded-circle {
  border-radius: 5px !important;
}

h1.fw-black.display-5.mb-3 {
  font-weight: 600;
}
