.app-header {
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background-color: #f2f6f9;
    border-bottom: 1px solid #f2f6f9;
    /* background-color: #004C92;
    border-bottom: 1px solid #004C92; */
}

.icon-round {
    border-radius: 50% !important;
}

.letf-header-sec {
    height: 60px;
    max-height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.logo-svg {
    display: block;
}

.logo-svg-img {
    padding: 5px;
    height: 55px;
}

.app-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2e2e38;
    opacity: 0.85;
}

.__divider {
    border: 1px solid #2e2e38;
    height: 30px;
    opacity: 0.5;
}

.user-icon {
    font-size: 24px;
    cursor: pointer;
}/* CSS variables so you can theme easily */
:root {
    --pl-backdrop: rgba(0, 0, 0, 0.4);
    --pl-text: #ffffff;
    --pl-spinner-size: 48px;
    /* spinner diameter */
    --pl-spinner-border: 4px;
    /* ring thickness */
    --pl-spinner-color: #ffffff;
    /* moving arc color */
    --pl-spinner-track: rgba(255, 255, 255, 0.35);
    /* ring track color */
    --pl-gap: 12px;
    /* gap between spinner and text */
    --pl-font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Base container */
.pl__container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--pl-gap);
    font-family: var(--pl-font);
}

/* Inline mode: sits in flow, inherits bg */
.pl__container--inline {
    min-height: 2rem;
}

/* Fullscreen overlay */
.pl__container--fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    /* high to sit above app chrome */
    background: var(--pl-backdrop);
    color: var(--pl-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Spinner: circular ring with animated arc */
.pl__spinner {
    width: var(--pl-spinner-size);
    height: var(--pl-spinner-size);
    border-radius: 50%;
    border: var(--pl-spinner-border) solid var(--pl-spinner-track);
    border-top-color: var(--pl-spinner-color);
    animation: pl-spin 0.8s linear infinite;
}

/* Loading text */
.pl__text {
    color: var(--pl-text);
    font-size: 0.95rem;
    line-height: 1.2;
}

/* Inline mode: default text color should follow context */
.pl__container--inline .pl__text {
    color: inherit;
}

/* Inline spinner track + arc inherit in inline mode */
.pl__container--inline .pl__spinner {
    border-color: currentColor;
    border-top-color: currentColor;
    opacity: 0.75;
}

@keyframes pl-spin {
    to {
        transform: rotate(360deg);
    }
}.loading-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loading-image {
    width: 200px;
    margin-bottom: 0.5rem;
}

.loading-icon {
    font-size: 1rem;
    font-style: italic;
}.breadcrumb {
  font-size: 12px;
  margin-bottom: 24px;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #6b7280;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: #9ca3af;
}

.breadcrumb a {
  text-decoration: none;
  font-weight: 500;
  color: #2563eb;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li.active span {
  color: #2563eb;
  font-weight: 500;
  opacity: 0.7;
}.custom-input {
  min-width: 100px;
  height: 50px;
  border: 1px solid #2e2e38;
  padding: 0 10px;
  border-radius: 4px;
  outline: none;
  font-size: 16px;
}

.custom-input:disabled {
  background-color: #f2f2f2;
  cursor: not-allowed;
}

input:focus {
    border-color: #2e2e38 !important;
    box-shadow: none !important;
}

.custom-input:focus {
  outline: none;
  box-shadow: none;
  border-color: #2e2e38 !important;
  box-shadow: none !important;
}

.home {
  --blue-800: #003870;
  --blue-700: #004C92;
  --blue-600: #0A76B3;
  --blue-500: #1C86D0;
  --blue-100: #E9F3FF;

  --bg-page: #F7FAFF;
  --bg-card: #FFFFFF;

  --text-strong: #0F1A2B;
  --text-muted: #5E6B85;

  --border: #D9E3F0;
  --shadow-sm: 0 4px 14px rgba(0, 76, 146, 0.08);
  --shadow-md: 0 10px 24px rgba(0, 76, 146, 0.12);

  --radius-lg: 12px;
  --radius-md: 10px;

  --grid-gap: 20px;
  --container-max: 1200px;
  --container-pad: 24px;

  --transition-fast: 180ms ease;
}

/* ---------- Page wrapper ---------- */
.home {
  width: 100%;
  background: var(--bg-page);
  padding: 32px 0 48px;
}

/* ---------- Header ---------- */
.home__header {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad) 16px;
}

.home__title {
  margin: 0 0 6px 0;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--blue-800);
  letter-spacing: 0.2px;
}

.home__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Grid ---------- */
.home__grid {
  max-width: var(--container-max);
  margin: 8px auto 0;
  padding: 0 var(--container-pad);
}

.home__grid-list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
}

.home__grid-item {
  min-width: 0; /* prevent overflow in grid items */
}

/* ---------- Tile (card link) ---------- */
.tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;
  padding: 18px 16px 18px 18px;
  min-height: 88px;

  background: var(--bg-card);
  color: var(--blue-700);
  text-decoration: none;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}

/* Text block inside the tile */
.tile__text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.tile__label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.2px;
  color: var(--text-strong);
  word-break: break-word;
}

/* Style the asterisk as a small required badge */
.tile__required {
  color: var(--blue-600);
  font-weight: 700;
  font-size: 12px;
  top: -0.15em;
  position: relative;
}

/* Chevron in a soft blue pill */
.tile__chevron {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(26, 126, 206, 0.12), rgba(26, 126, 206, 0.04)),
    #F2F7FD;
  border: 1px solid #D3E6F9;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);

  /* arrow icon (same path as your original CSS) */
  background-image:
    url(./icon-arrow-right-To5douzI.svg);
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-position: center;
  transform: translateX(0);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

/* Hover/Active/Focus interactions */
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-500);
  background:
    linear-gradient(0deg, rgba(234, 246, 255, 0.55), rgba(234, 246, 255, 0.55)),
    var(--bg-card);
}

.tile:hover .tile__chevron {
  transform: translateX(2px);
  background-color: #E6F1FD;
}

.tile:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Accessible focus ring */
.tile:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
}

/* ---------- Misc / Container spacing tweaks ---------- */
@media (max-width: 768px) {
  .home {
    padding-top: 20px;
  }
  .home__subtitle {
    font-size: 13px;
  }
  .tile {
    min-height: 80px;
    padding: 16px 14px 16px 16px;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .tile,
  .tile__chevron {
    transition: none !important;
  }
}/* Reusable Button Component Styles */
.reusable-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reusable-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reusable-button:active {
  transform: translateY(0);
}

.reusable-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none !important;
  box-shadow: none !important;
}

/* Variants */
.reusable-button.primary {
  background: linear-gradient(135deg, #0099CC 0%, #007BA7 100%);
  color: white;
}

.reusable-button.primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #007BA7 0%, #006088 100%);
}

.reusable-button.secondary {
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
  color: white;
}

.reusable-button.secondary:hover:not(:disabled) {
  background: linear-gradient(135deg, #7f8c8d 0%, #6c7a7b 100%);
}

.reusable-button.success {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  color: white;
}

.reusable-button.success:hover:not(:disabled) {
  background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
}

.reusable-button.danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
}

.reusable-button.danger:hover:not(:disabled) {
  background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.reusable-button.warning {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
}

.reusable-button.warning:hover:not(:disabled) {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.reusable-button.info {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
}

.reusable-button.info:hover:not(:disabled) {
  background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
}

/* Sizes */
.reusable-button.small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.reusable-button.medium {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.reusable-button.large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.reusable-button.full-width {
  width: 100%;
}
/* Reusable Modal Component Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content.small {
  width: 90%;
  max-width: 400px;
}

.modal-content.medium {
  width: 90%;
  max-width: 600px;
}

.modal-content.large {
  width: 90%;
  max-width: 900px;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 2px solid #e0e6ed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #0099CC 0%, #007BA7 100%);
  border-radius: 16px 16px 0 0;
}

.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #0099CC;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #007BA7;
}
/* Reusable Dropdown Component Styles */
.reusable-dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.reusable-dropdown-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.reusable-dropdown-wrapper {
  position: relative;
  width: 100%;
}

.reusable-dropdown-select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 2px solid #d1d9e6;
  border-radius: 8px;
  font-size: 1rem;
  color: #2c3e50;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  box-sizing: border-box;
}

.reusable-dropdown-select:focus {
  outline: none;
  border-color: #0099CC;
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.1);
}

.reusable-dropdown-select:disabled {
  background: #f5f7fa;
  cursor: not-allowed;
  opacity: 0.6;
}

.dropdown-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0099CC;
  pointer-events: none;
  font-size: 0.75rem;
}

.reusable-dropdown-select:disabled + .dropdown-arrow {
  opacity: 0.4;
}
/* Collapsible Section Styles */
.collapsible-section {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.section-header {
  background: linear-gradient(135deg, #0099CC 0%, #007BA7 100%);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.section-header:hover {
  background: linear-gradient(135deg, #007BA7 0%, #006690 100%);
}

.section-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.collapse-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s;
}

.section-content {
  padding: 1.5rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Reusable Input Component Styles */
.reusable-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.reusable-input-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.required-asterisk {
  color: #e74c3c;
  font-weight: bold;
}

.reusable-input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #d1d9e6;
  border-radius: 8px;
  font-size: 1rem;
  color: #2c3e50;
  background: white;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.reusable-input-field:focus {
  outline: none;
  border-color: #0099CC;
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.1);
}

.reusable-input-field:disabled {
  background: #f5f7fa;
  cursor: not-allowed;
  opacity: 0.6;
}

.reusable-input-field::placeholder {
  color: #95a5a6;
}
/* Reusable Checkbox Component Styles */
.reusable-checkbox-group {
  display: flex;
  align-items: center;
  width: 100%;
}

.reusable-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.reusable-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  position: relative;
  height: 24px;
  width: 24px;
  border: 2px solid #d1d9e6;
  border-radius: 6px;
  background: white;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.reusable-checkbox-input:checked ~ .checkbox-custom {
  background: linear-gradient(135deg, #0099CC 0%, #007BA7 100%);
  border-color: #0099CC;
}

.reusable-checkbox-input:checked ~ .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.reusable-checkbox-input:focus ~ .checkbox-custom {
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.2);
}

.reusable-checkbox-input:disabled ~ .checkbox-custom {
  background: #f5f7fa;
  cursor: not-allowed;
  opacity: 0.6;
}

.reusable-checkbox-input:disabled ~ .checkbox-text {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkbox-text {
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 500;
}
