:root {
    --colorPrimaryNormal: #00b3bb;
    --colorPrimaryDark: #00979f;
    --colorPrimaryGlare: #00cdd7;
    --colorPrimaryHalf: #80d9dd;
    --colorPrimaryQuarter: #bfecee;
    --colorPrimaryEighth: #dff5f7;
    --colorPrimaryPale: #f3f5f7;
    --colorPrimarySeparator: #f3f5f7;
    --colorPrimaryOutline: #dff5f7;
    --colorButtonNormal: #00b3bb;
    --colorButtonHover: #00cdd7;
    --colorLinkNormal: #00979f;
    --colorLinkHover: #00cdd7;
}

.info_box {
    width: 0 auto;
    display: flex;
    flex-direction: row;
}

.setting_content {
    width: 0 auto;
    display: flex;
    flex-direction: row;
}

@media only screen and (max-width: 900px) {
    .info_box {
        flex-direction: column;
    }

    .setting_content {
        flex-direction: column;
    }
  }

#panduan {
    cursor: pointer;
}

#panduanSection p {
    text-align: justify;
}

#imgPanduan {
    width: 100%;
}

#btnSimpan {
    width: 200px;
}

#img_ttd {
    width: 200px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.upload_dropZone {
    color: #0f3c4b;
    background-color: var(--colorPrimaryPale, #c8dadf);
    outline: 2px dashed var(--colorPrimaryHalf, #c1ddef);
    outline-offset: -12px;
    transition:
        outline-offset 0.2s ease-out,
        outline-color 0.3s ease-in-out,
        background-color 0.2s ease-out;
}
.upload_dropZone.highlight {
    outline-offset: -4px;
    outline-color: var(--colorPrimaryNormal, #0576bd);
    background-color: var(--colorPrimaryEighth, #c8dadf);
}
.upload_svg {
    fill: var(--colorPrimaryNormal, #0576bd);
}
.btn-upload {
    color: #fff;
    background-color: var(--colorPrimaryNormal);
}
.btn-upload:hover,
.btn-upload:focus {
    color: #fff;
    background-color: var(--colorPrimaryGlare);
}
.upload_img {
    width: calc(33.333% - (2rem / 3));
    object-fit: contain;
}

/* #btnSandi {
    background-color: #343A40;
    color: white;
    height: 40px;
}

#btnSandi:hover {
    opacity: 80%;
} */
/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
  }

  table th,
  table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }

  /* Table header styling */
  table th {
    background-color: transparent;
    color: #333;
  }

  /* Table row hover effect */
  table tr:hover {
    background-color: #f5f5f5;
  }

  /* Alternating row colors */
  table tr:nth-child(even) {
    background-color: transparent;
  }

  /* Table cell formatting */
  table td {
    font-size: 14px;
  }

  /* Table cell alignment */
  table td.text-center {
    text-align: center;
  }

  table td.text-right {
    text-align: right;
  }

  /* Example styles for specific rows */
  table tr.highlight {
    background-color: #ffc107;
    color: #333;
  }

  .info-box-cell {
    width: 25%;
    padding-right: 10px;
  }

/* --------------------------------------------------------------------------
   FST modern UI theme
   Phase 1 keeps AdminLTE/Bootstrap behavior intact and only normalizes the
   visual layer with reusable design tokens.
   -------------------------------------------------------------------------- */
:root {
    --fst-primary-gold: #d6a84f;
    --fst-primary-gold-dark: #8f6717;
    --fst-primary-gold-soft: #fff8e8;
    --fst-secondary-sky: #58bfe4;
    --fst-secondary-sky-dark: #1788b7;
    --fst-secondary-sky-soft: #eef9fd;
    --fst-background: #f6f8fb;
    --fst-surface: #ffffff;
    --fst-surface-soft: #fbfdff;
    --fst-border: #e5e9f0;
    --fst-border-strong: #d5dce6;
    --fst-muted: #6b7280;
    --fst-text: #1f2937;
    --fst-heading: #111827;
    --fst-success: #2f9e6e;
    --fst-warning: #d89a1d;
    --fst-danger: #d9534f;
    --fst-radius-sm: 6px;
    --fst-radius: 8px;
    --fst-radius-lg: 8px;
    --fst-shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04), 0 10px 26px rgba(17, 24, 39, 0.045);
    --fst-shadow: 0 1px 3px rgba(17, 24, 39, 0.06), 0 18px 42px rgba(17, 24, 39, 0.07);
}

body.fst-modern {
    background: var(--fst-background);
    color: var(--fst-text);
    font-family: "Inter", "Source Sans Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

body.fst-modern::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    height: 3px;
    background: linear-gradient(90deg, #dbeafe, var(--fst-secondary-sky), #f7e6bf);
}

.fst-landing {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(88, 191, 228, 0.14), transparent 28rem),
        linear-gradient(180deg, #ffffff 0, #f8fbfd 52%, #f6f8fb 100%);
    color: var(--fst-text);
    font-family: "Inter", "Source Sans Pro", system-ui, sans-serif;
}

.fst-landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
}

.fst-landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--fst-heading);
    text-decoration: none;
}

.fst-landing-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.fst-landing-brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.fst-landing-brand small,
.fst-landing-section p,
.fst-flow-list {
    color: var(--fst-muted);
}

.fst-landing-login,
.fst-landing-cta,
.fst-landing-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.fst-landing-login,
.fst-landing-cta {
    background: var(--fst-secondary-sky-dark);
    color: #ffffff;
}

.fst-landing-login {
    padding: 0.65rem 1rem;
}

.fst-landing-cta {
    padding: 0.85rem 1.15rem;
}

.fst-landing-secondary {
    padding: 0.85rem 1rem;
    border: 1px solid var(--fst-border-strong);
    color: var(--fst-heading);
    background: #ffffff;
}

.fst-landing-hero,
.fst-landing-section,
.fst-flow-section,
.fst-landing-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.fst-landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: 72px 0 64px;
}

.fst-landing-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--fst-secondary-sky-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fst-landing-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--fst-heading);
    font-size: clamp(2.4rem, 5vw, 4.45rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.fst-landing-hero p {
    max-width: 650px;
    margin: 1.35rem 0 0;
    color: var(--fst-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.fst-landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.fst-landing-panel,
.fst-feature-grid article,
.fst-flow-section {
    border: 1px solid var(--fst-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--fst-shadow-sm);
}

.fst-landing-panel {
    padding: 1rem;
}

.fst-landing-panel__header {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.fst-landing-panel__header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--fst-border-strong);
}

.fst-landing-stat {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 14px;
    background: #ffffff;
}

.fst-landing-stat + .fst-landing-stat {
    margin-top: 0.7rem;
}

.fst-landing-stat i,
.fst-feature-grid article i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--fst-secondary-sky-dark);
    background: var(--fst-secondary-sky-soft);
}

.fst-landing-stat strong,
.fst-landing-stat small {
    display: block;
}

.fst-landing-section {
    padding: 34px 0 50px;
}

.fst-section-heading {
    max-width: 640px;
    margin-bottom: 1.3rem;
}

.fst-section-heading span {
    color: var(--fst-primary-gold-dark);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fst-section-heading h2,
.fst-flow-section h2 {
    margin: 0.45rem 0 0;
    color: var(--fst-heading);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 850;
    line-height: 1.15;
}

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

.fst-feature-grid article {
    padding: 1.25rem;
}

.fst-feature-grid h3 {
    margin: 1rem 0 0.55rem;
    color: var(--fst-heading);
    font-size: 1rem;
    font-weight: 800;
}

.fst-flow-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
}

.fst-flow-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fst-flow-list li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.fst-flow-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--fst-secondary-sky-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.fst-landing-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 32px 0;
    color: var(--fst-muted);
}

.fst-modern h1,
.fst-modern h2,
.fst-modern h3,
.fst-modern h4,
.fst-modern h5,
.fst-modern h6 {
    color: var(--fst-heading);
    font-weight: 700;
    letter-spacing: 0;
}

.fst-modern h1 {
    font-size: 1.72rem;
}

.fst-modern a {
    color: var(--fst-secondary-sky-dark);
}

.fst-modern a:hover {
    color: var(--fst-primary-gold-dark);
}

.fst-modern .content-wrapper,
.fst-modern .fst-content-wrapper {
    background:
        radial-gradient(circle at top right, rgba(88, 191, 228, 0.12), transparent 28rem),
        linear-gradient(180deg, #ffffff 0, #f8fbfd 20rem, var(--fst-background) 100%);
}

.fst-modern .content-header {
    padding: 28px 1.75rem 10px;
}

.fst-modern .content-header h1 {
    margin-bottom: 0;
}

.fst-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.55rem;
    background: #ffffff;
    border: 1px solid rgba(229, 233, 240, 0.95);
    border-left: 4px solid var(--fst-secondary-sky);
    border-radius: 10px;
    box-shadow: var(--fst-shadow-sm);
}

.fst-page-heading__copy {
    min-width: 0;
}

.fst-page-heading__eyebrow {
    color: var(--fst-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.fst-page-heading__title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fst-page-heading__title-row h1 {
    margin: 0;
}

.fst-page-heading__icon,
.fst-page-heading__help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: var(--fst-radius);
}

.fst-page-heading__icon {
    color: var(--fst-secondary-sky-dark);
    background: var(--fst-secondary-sky-soft);
    box-shadow: none;
}

.fst-page-heading__help {
    border: 1px solid var(--fst-border);
    color: var(--fst-secondary-sky-dark);
    background: #ffffff;
    cursor: pointer;
}

.fst-page-heading__help:hover {
    border-color: var(--fst-secondary-sky);
    background: var(--fst-secondary-sky-soft);
}

.fst-page-heading p {
    max-width: 58rem;
    margin: 0.35rem 0 0;
    color: var(--fst-muted);
}

.fst-action-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.fst-modern .info_box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    width: 100%;
    margin-bottom: 1.25rem;
}

.fst-modern .info_box .info-box {
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 0;
}

.fst-modern .content-header hr {
    border-top-color: var(--fst-border);
    margin-top: 1rem;
    margin-bottom: 0;
}

.fst-modern .content,
.fst-modern .fst-content {
    padding: 18px 1.75rem 36px;
}

.fst-modern .main-header.fst-topnav {
    min-height: 56px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(213, 220, 230, 0.9) !important;
}

.fst-modern .main-header .nav-link {
    color: var(--fst-muted);
    border-radius: var(--fst-radius-sm);
    min-height: 40px;
    padding: 0.5rem 0.72rem;
}

.fst-modern .main-header .nav-link:hover {
    color: var(--fst-heading);
    background: var(--fst-secondary-sky-soft);
}

.fst-modern .brand-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 56px;
    padding: 0.5rem 0.72rem;
    overflow: hidden;
    white-space: nowrap;
}

.fst-modern .brand-link .fst-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    min-width: 32px;
    overflow: hidden;
}

.fst-modern .brand-link .logo-xs,
.fst-modern .brand-link .brand-image,
.fst-modern .brand-link .brand-image-xs,
.fst-modern .brand-link .brand-image-xl {
    display: inline-block !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain;
    flex-shrink: 0;
}

.fst-brand-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    color: var(--fst-heading);
    overflow: hidden;
    line-height: 1.12;
}

.fst-brand-text strong {
    display: block;
    overflow: hidden;
    color: var(--fst-heading);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fst-brand-text small {
    display: block;
    overflow: hidden;
    color: var(--fst-muted);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-collapse .fst-brand-text {
    display: none;
}

.sidebar-collapse .fst-modern .brand-link .logo-xl,
.sidebar-collapse .brand-link .logo-xl {
    display: none !important;
}

.fst-modern.sidebar-collapse .brand-link,
.fst-modern .sidebar-collapse .brand-link {
    justify-content: center;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
}

.fst-user-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 0.48rem;
    max-width: min(230px, 42vw);
}

.fst-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--fst-secondary-sky-dark);
    background: var(--fst-secondary-sky-soft);
}

.fst-user-name {
    display: inline-block;
    overflow: hidden;
    max-width: 160px;
    font-size: 0.86rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fst-user-dropdown {
    width: min(320px, calc(100vw - 24px));
    padding: 0;
    border: 1px solid var(--fst-border);
    border-radius: 12px;
    box-shadow: var(--fst-shadow);
    overflow: hidden;
}

.fst-user-dropdown .user-header {
    min-height: auto;
    padding: 0.95rem;
    background: #ffffff !important;
    border-bottom: 1px solid var(--fst-border);
    color: var(--fst-text);
    text-align: left;
}

.fst-user-dropdown .user-header p {
    display: block !important;
    margin: 0;
    color: var(--fst-text);
}

.fst-user-profile {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.72rem;
    align-items: center;
}

.fst-user-profile__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--fst-secondary-sky-dark);
    background: var(--fst-secondary-sky-soft);
}

.fst-user-profile__meta {
    min-width: 0;
}

.fst-user-dropdown__name {
    display: block !important;
    overflow: hidden;
    margin-bottom: 0.42rem;
    color: var(--fst-heading);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fst-user-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.fst-role-badge {
    max-width: 100%;
    border: 1px solid #f1d99f;
    background: var(--fst-primary-gold-soft) !important;
    color: var(--fst-primary-gold-dark) !important;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.28rem 0.45rem;
    white-space: normal;
    text-align: left;
}

.fst-user-dropdown .user-footer {
    display: grid;
    gap: 0.5rem;
    padding: 0.78rem 0.95rem;
    background: #ffffff;
}

.fst-user-dropdown .user-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    border-radius: 8px;
    font-size: 0.82rem;
}

.fst-modern .main-sidebar.fst-sidebar {
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 46%, #f8fafc 100%);
    border-right: 1px solid var(--fst-border);
}

.fst-modern .brand-link {
    min-height: 56px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--fst-border) !important;
}

.fst-modern .sidebar {
    padding: 12px 10px;
}

.fst-modern .nav-sidebar .nav-header {
    color: var(--fst-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1rem 0.75rem 0.4rem;
}

.fst-modern .nav-sidebar .nav-item > .nav-link {
    border-radius: var(--fst-radius);
    color: #4b5563;
    font-size: 0.86rem;
    margin-bottom: 4px;
    min-height: 38px;
    padding: 0.58rem 0.72rem;
}

.fst-modern .nav-sidebar .nav-item > .nav-link:hover {
    color: var(--fst-heading);
    background: var(--fst-secondary-sky-soft);
}

.fst-modern .nav-sidebar .nav-item > .nav-link.active {
    color: var(--fst-secondary-sky-dark);
    background: var(--fst-secondary-sky-soft);
    box-shadow: inset 4px 0 0 var(--fst-secondary-sky);
    font-weight: 700;
}

.fst-modern .nav-sidebar .nav-icon {
    color: inherit;
    opacity: 0.9;
}

.fst-modern .card,
.fst-modern .small-box,
.fst-modern .info-box,
.fst-modern .callout {
    border: 1px solid var(--fst-border);
    border-radius: 10px;
    box-shadow: var(--fst-shadow-sm);
}

.fst-modern .card {
    background: var(--fst-surface);
    overflow: hidden;
}

.fst-modern .card-header {
    background: var(--fst-surface);
    border-bottom: 1px solid var(--fst-border);
    padding: 1.1rem 1.35rem;
}

.fst-modern .card-title {
    color: var(--fst-heading);
    font-weight: 700;
}

.fst-modern .card-body {
    padding: 1.35rem;
}

.fst-modern .info-box {
    background:
        linear-gradient(135deg, rgba(23, 136, 183, 0.96), rgba(88, 191, 228, 0.88)),
        var(--fst-secondary-sky-dark);
    min-height: 116px;
    border-left: 0;
    border-color: rgba(23, 136, 183, 0.32);
    padding: 1.1rem;
    color: #ffffff;
}

.fst-modern .info-box .info-box-icon {
    align-self: center;
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    font-size: 1.2rem;
}

.fst-modern .info-box .info-box-icon.bg-success {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

.fst-modern .info-box .info-box-icon.bg-danger {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

.fst-modern .info-box .info-box-icon.bg-info,
.fst-modern .info-box .info-box-icon.bg-cyan {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

.fst-modern .info-box .info-box-icon.bg-dark {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

.fst-modern .info-box .info-box-content {
    padding: 0 0 0 1rem;
}

.fst-modern .info-box .info-box-text {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.fst-modern .info-box .info-box-number {
    color: #ffffff;
    font-size: 1.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.fst-modern .info-box .progress-description,
.fst-modern .info-box .info-box-more,
.fst-modern .info-box small,
.fst-modern .info-box a,
.fst-modern .info-box span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.fst-modern .content > hr {
    border-top: 1px solid var(--fst-border);
    margin: 1.35rem 0;
}

.fst-modern .content .card.bg-secondary,
.fst-modern .content .card.bg-success,
.fst-modern .content .card.bg-warning,
.fst-modern .content .card.bg-danger,
.fst-modern .content .card.bg-info,
.fst-modern .content .card.bg-primary {
    background: #ffffff !important;
    color: var(--fst-text) !important;
}

.fst-modern .content .card.bg-secondary {
    border-top: 4px solid #cbd5e1;
}

.fst-modern .content .card.bg-success {
    border-top: 4px solid var(--fst-success);
}

.fst-modern .content .card.bg-warning {
    border-top: 4px solid var(--fst-primary-gold);
}

.fst-modern .content .card.bg-danger {
    border-top: 4px solid var(--fst-danger);
}

.fst-modern .content .card.bg-info,
.fst-modern .content .card.bg-primary {
    border-top: 4px solid var(--fst-secondary-sky);
}

.fst-modern .content .card.bg-secondary .card-header,
.fst-modern .content .card.bg-success .card-header,
.fst-modern .content .card.bg-warning .card-header,
.fst-modern .content .card.bg-danger .card-header,
.fst-modern .content .card.bg-info .card-header,
.fst-modern .content .card.bg-primary .card-header {
    background: #ffffff !important;
    color: var(--fst-heading) !important;
}

.fst-modern .content .card .countdown-timer {
    color: var(--fst-secondary-sky-dark);
    font-size: 1.05rem;
}

.fst-modern .content .card [style*="rgba(0,0,0,0.1)"] {
    background: var(--fst-secondary-sky-soft) !important;
}

.fst-modern .content .card [style*="color: #666"] {
    color: var(--fst-muted) !important;
}

.fst-modern .content h3 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 1.65rem 0 0.9rem;
    color: var(--fst-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.fst-modern .content h3::before {
    content: "";
    width: 3px;
    height: 1.1rem;
    border-radius: 99px;
    background: var(--fst-secondary-sky);
    box-shadow: none;
}

.fst-modern .btn {
    border-radius: var(--fst-radius);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: none !important;
    padding: 0.46rem 0.82rem;
}

.fst-modern .btn-primary,
.fst-modern .bg-primary,
.fst-modern .badge-primary {
    border-color: var(--fst-secondary-sky-dark) !important;
    background: var(--fst-secondary-sky-dark) !important;
}

.fst-modern .btn-primary:hover,
.fst-modern .btn-primary:focus {
    border-color: #0d6f98 !important;
    background: #0d6f98 !important;
}

.fst-modern .btn-info,
.fst-modern .bg-info,
.fst-modern .badge-info {
    border-color: var(--fst-secondary-sky-dark) !important;
    background: var(--fst-secondary-sky-dark) !important;
}

.fst-modern .btn-default,
.fst-modern .btn-light,
.fst-modern .btn-outline-secondary {
    border-color: var(--fst-border-strong);
    background: #ffffff;
    color: var(--fst-text);
}

.fst-modern .btn-default:hover,
.fst-modern .btn-light:hover,
.fst-modern .btn-outline-secondary:hover {
    border-color: var(--fst-secondary-sky);
    background: var(--fst-secondary-sky-soft);
    color: var(--fst-heading);
}

.fst-modern .btn-success,
.fst-modern .bg-success,
.fst-modern .badge-success {
    border-color: var(--fst-success) !important;
    background: var(--fst-success) !important;
}

.fst-modern .btn-warning,
.fst-modern .bg-warning,
.fst-modern .badge-warning {
    border-color: var(--fst-warning) !important;
    background: var(--fst-warning) !important;
}

.fst-modern .btn-danger,
.fst-modern .bg-danger,
.fst-modern .badge-danger {
    border-color: var(--fst-danger) !important;
    background: var(--fst-danger) !important;
}

.fst-modern .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    min-width: max-content;
    padding: 0.36rem 0.62rem;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap !important;
    word-break: keep-all;
}

.fst-modern .form-control,
.fst-modern .custom-select,
.fst-modern .input-group-text,
.fst-modern .select2-container--bootstrap4 .select2-selection {
    border-color: var(--fst-border-strong);
    border-radius: var(--fst-radius);
}

.fst-modern .form-control:focus,
.fst-modern .custom-select:focus,
.fst-modern .select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: var(--fst-secondary-sky);
    box-shadow: 0 0 0 0.2rem rgba(101, 199, 232, 0.18);
}

.fst-modern label,
.fst-modern .col-form-label {
    color: var(--fst-heading);
    font-size: 0.86rem;
    font-weight: 600;
}

.fst-modern .input-group-text {
    background: var(--fst-surface-soft);
    color: var(--fst-muted);
}

.fst-modern .input-group-text.bg-gradient-info,
.fst-modern .input-group-text.bg-gradient-primary,
.fst-modern .input-group-text.bg-gradient-blue,
.fst-modern .input-group-text.bg-gradient-cyan {
    background: var(--fst-secondary-sky-soft) !important;
    color: var(--fst-secondary-sky-dark) !important;
}

.fst-modern .input-group-text.bg-gradient-success {
    background: #eaf7f1 !important;
    color: var(--fst-success) !important;
}

.fst-modern .input-group-text.bg-gradient-danger {
    background: #fff0ed !important;
    color: var(--fst-danger) !important;
}

.fst-modern .input-group-text.bg-gradient-dark,
.fst-modern .input-group-text.bg-gradient-purple {
    background: var(--fst-primary-gold-soft) !important;
    color: var(--fst-primary-gold-dark) !important;
}

.fst-modern .table,
.fst-modern table.dataTable {
    color: var(--fst-text);
    background: #ffffff;
    border-radius: var(--fst-radius);
    overflow: hidden;
}

.fst-modern .fst-table-shell,
.fst-modern .table-responsive {
    width: 100%;
    overflow-x: visible;
}

.fst-modern .dataTables_wrapper {
    width: 100%;
}

.fst-modern .dataTables_wrapper .row {
    align-items: center;
    margin-left: 0;
    margin-right: 0;
}

.fst-modern .dataTables_wrapper .row > [class^="col-"],
.fst-modern .dataTables_wrapper .row > [class*=" col-"] {
    padding-left: 0;
    padding-right: 0;
}

.fst-modern .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.fst-modern .dt-buttons .btn {
    border-radius: 7px;
    padding: 0.38rem 0.72rem;
    font-size: 0.82rem;
}

.fst-modern table.fst-data-table,
.fst-modern table.dataTable {
    width: 100% !important;
    table-layout: auto;
    border-collapse: separate !important;
    border-spacing: 0;
}

.fst-modern .table thead th,
.fst-modern table.dataTable thead th {
    border-bottom: 1px solid var(--fst-border-strong);
    color: var(--fst-muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: normal;
    line-height: 1.35;
    padding: 0.82rem 0.68rem;
}

.fst-modern .thead-dark th,
.fst-modern .table .thead-dark th,
.fst-modern .table-dark th {
    border-color: var(--fst-border-strong) !important;
    background: #f1f5f9 !important;
    color: var(--fst-heading) !important;
}

.fst-modern .table td,
.fst-modern table.dataTable td {
    border-top-color: var(--fst-border);
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1.45;
    padding: 0.66rem 0.6rem;
    font-size: 0.82rem;
}

.fst-modern table.dataTable td:first-child,
.fst-modern table.dataTable th:first-child {
    width: 3.5rem !important;
}

.fst-modern .fst-cell-title,
.fst-modern .table td.text-truncate {
    max-width: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    min-width: 12rem;
}

.fst-modern .fst-cell-title {
    color: var(--fst-heading);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.fst-modern .table td:has(.badge),
.fst-modern table.dataTable td:has(.badge) {
    min-width: 7.2rem;
    text-align: center;
    white-space: nowrap;
}

.fst-modern .fst-table-actions,
.fst-modern table.dataTable td .flex,
.fst-modern table.dataTable td .d-flex {
    display: inline-flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-width: 5.5rem;
}

.fst-modern table.dataTable td:last-child {
    min-width: 7rem;
}

.fst-modern .fst-action-btn,
.fst-modern table.dataTable .btn-xs.btn-default,
.fst-modern table.dataTable .btn.btn-xs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    line-height: 1;
}

.fst-modern .fst-action-btn i,
.fst-modern table.dataTable .btn-xs i {
    margin: 0;
    font-size: 0.86rem !important;
    line-height: 1;
}

.fst-modern .fst-action-view,
.fst-modern table.dataTable .btn-xs.bg-success {
    background: var(--fst-secondary-sky-soft) !important;
    color: var(--fst-secondary-sky-dark) !important;
}

.fst-modern .fst-action-edit,
.fst-modern table.dataTable .btn-xs[style*="#FCAE1E"],
.fst-modern table.dataTable .btn-xs[style*="FCAE1E"] {
    background: var(--fst-primary-gold-soft) !important;
    color: var(--fst-primary-gold-dark) !important;
}

.fst-modern .fst-action-delete,
.fst-modern .fst-action-reject,
.fst-modern table.dataTable .btn-xs.bg-danger {
    background: #fff0ed !important;
    color: var(--fst-danger) !important;
}

.fst-modern .fst-action-approve {
    background: #eaf7f1 !important;
    color: var(--fst-success) !important;
}

.fst-modern .fst-action-download,
.fst-modern table.dataTable .btn-xs.bg-info,
.fst-modern table.dataTable .btn-xs[style*="#AC94F4"],
.fst-modern table.dataTable .btn-xs[style*="AC94F4"] {
    background: #edf7fb !important;
    color: #24748f !important;
}

.fst-modern .fst-action-send,
.fst-modern table.dataTable .btn-xs.bg-primary {
    background: var(--fst-secondary-sky-soft) !important;
    color: var(--fst-secondary-sky-dark) !important;
}

.fst-modern .fst-action-muted,
.fst-modern table.dataTable .btn-xs.bg-secondary,
.fst-modern table.dataTable .btn-xs.bg-muted {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.fst-modern table.dataTable .btn-xs:hover,
.fst-modern .fst-action-btn:hover {
    filter: brightness(0.97);
    transform: translateY(-1px);
}

.fst-modern table.dataTable .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
    max-width: 100%;
    white-space: nowrap !important;
    line-height: 1.15;
}

.fst-modern .table-hover tbody tr:hover,
.fst-modern table.dataTable.hover tbody tr:hover,
.fst-modern table.dataTable.display tbody tr:hover {
    background-color: var(--fst-secondary-sky-soft);
}

.fst-modern .dataTables_wrapper .dataTables_filter input,
.fst-modern .dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--fst-border-strong);
    border-radius: var(--fst-radius);
    padding: 0.35rem 0.55rem;
}

.fst-modern .page-item.active .page-link {
    border-color: var(--fst-primary-gold);
    background: var(--fst-primary-gold);
}

.fst-modern .page-link {
    color: var(--fst-secondary-sky-dark);
    border-color: var(--fst-border);
}

.fst-modern .alert {
    border: 1px solid transparent;
    border-radius: var(--fst-radius-lg);
    box-shadow: var(--fst-shadow-sm);
}

.fst-modern .alert-success {
    border-color: #bfe8d5;
    background: #eefaf4;
    color: #176447;
}

.fst-modern .alert-danger {
    border-color: #f5c2bd;
    background: #fff3f1;
    color: #9d2f2a;
}

.fst-modern .alert-warning {
    border-color: #f5dda1;
    background: #fff8e8;
    color: #825d0c;
}

.fst-modern .alert-info {
    border-color: #bee8f7;
    background: var(--fst-secondary-sky-soft);
    color: #176b8d;
}

.fst-modern .modal-content {
    overflow: hidden;
    border: 1px solid rgba(213, 220, 230, 0.95);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--fst-shadow);
}

.fst-modern .modal-header {
    align-items: center;
    padding: 1.25rem 1.5rem;
    background:
        linear-gradient(180deg, rgba(238, 249, 253, 0.9), rgba(255, 255, 255, 1));
    border-bottom: 1px solid var(--fst-border);
}

.fst-modern .modal-header::before {
    content: "";
    display: block;
    width: 4px;
    align-self: stretch;
    margin: -1.25rem 1rem -1.25rem -1.5rem;
    background: var(--fst-secondary-sky);
}

.fst-modern .modal-title {
    color: var(--fst-heading);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0;
}

.fst-modern .modal-header .close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: -0.25rem -0.35rem -0.25rem auto;
    padding: 0;
    border-radius: 50%;
    color: var(--fst-muted);
    opacity: 1;
    text-shadow: none;
}

.fst-modern .modal-header .close:hover {
    color: var(--fst-heading);
    background: var(--fst-secondary-sky-soft);
}

.fst-modern .modal-body {
    padding: 1.5rem;
    color: var(--fst-text);
    line-height: 1.65;
}

.fst-modern .modal-footer {
    gap: 0.6rem;
    padding: 1rem 1.5rem 1.35rem;
    background: #ffffff;
    border-top: 1px solid var(--fst-border);
}

.fst-modern .modal-footer > * {
    margin: 0;
}

.fst-modern .modal .btn-primary,
.fst-modern .modal .btn-success {
    border-color: var(--fst-secondary-sky-dark) !important;
    background: var(--fst-secondary-sky-dark) !important;
    color: #ffffff !important;
}

.fst-modern .modal .btn-primary:hover,
.fst-modern .modal .btn-success:hover {
    border-color: #0d6f98 !important;
    background: #0d6f98 !important;
}

.fst-modern .modal .btn-secondary,
.fst-modern .modal .btn-dark,
.fst-modern .modal .btn-default,
.fst-modern .modal .btn-light {
    border-color: var(--fst-border-strong) !important;
    background: #ffffff !important;
    color: var(--fst-text) !important;
}

.fst-modern .modal .btn-secondary:hover,
.fst-modern .modal .btn-dark:hover,
.fst-modern .modal .btn-default:hover,
.fst-modern .modal .btn-light:hover {
    border-color: var(--fst-secondary-sky) !important;
    background: var(--fst-secondary-sky-soft) !important;
    color: var(--fst-heading) !important;
}

.fst-modern .modal .btn-danger {
    border-color: var(--fst-danger) !important;
    background: var(--fst-danger) !important;
    color: #ffffff !important;
}

.fst-modern .modal table {
    background: transparent;
}

.fst-confirm-modal .modal-content {
    border: 1px solid var(--fst-border);
    border-radius: 14px;
    box-shadow: var(--fst-shadow);
    overflow: hidden;
}

.fst-confirm-modal .modal-body {
    padding: 1.35rem 1.35rem 0.8rem;
    text-align: center;
}

.fst-confirm-modal h5 {
    margin: 0.8rem 0 0.35rem;
    color: var(--fst-heading);
    font-size: 1.05rem;
    font-weight: 750;
}

.fst-confirm-modal p {
    margin: 0;
    color: var(--fst-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.fst-confirm-modal .modal-footer {
    justify-content: center;
    gap: 0.55rem;
    border-top: 0;
    padding: 0.85rem 1.35rem 1.25rem;
}

.fst-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--fst-danger);
    background: #fff0ed;
}

.fst-file-section {
    border: 1px solid var(--fst-border);
    border-radius: 14px;
    background: #fbfdff;
    padding: 1rem;
}

.fst-file-section__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.fst-file-section__header h5 {
    margin: 0;
    color: var(--fst-heading);
    font-size: 1rem;
    font-weight: 800;
}

.fst-file-section__header p {
    margin: 0.25rem 0 0;
    color: var(--fst-muted);
    font-size: 0.88rem;
}

.fst-file-section__header > i {
    color: var(--fst-secondary-sky-dark);
    background: var(--fst-secondary-sky-soft);
    border-radius: 10px;
    padding: 0.72rem;
}

.fst-file-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.fst-file-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
}

.fst-file-group__label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--fst-heading);
    font-size: 0.82rem;
    font-weight: 800;
}

.fst-file-group__label i {
    color: var(--fst-secondary-sky-dark);
}

.fst-file-group__items {
    display: grid;
    gap: 0.48rem;
}

.fst-file-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 32px;
    gap: 0.7rem;
    align-items: center;
    min-width: 0;
    padding: 0.7rem;
    border: 1px solid var(--fst-border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--fst-text);
    text-decoration: none;
}

.fst-file-card:hover {
    border-color: var(--fst-secondary-sky);
    background: var(--fst-secondary-sky-soft);
    color: var(--fst-heading);
}

.fst-file-card__icon,
.fst-file-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.fst-file-card__icon {
    width: 38px;
    height: 38px;
    color: var(--fst-danger);
    background: #fff0ed;
}

.fst-file-card__body {
    min-width: 0;
}

.fst-file-card__body strong,
.fst-file-card__body small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fst-file-card__body strong {
    color: var(--fst-heading);
    font-size: 0.88rem;
}

.fst-file-card__body small {
    color: var(--fst-muted);
    font-size: 0.74rem;
}

.fst-file-card__action {
    width: 32px;
    height: 32px;
    color: var(--fst-secondary-sky-dark);
    background: var(--fst-secondary-sky-soft);
}

.fst-file-card.is-active {
    border-color: var(--fst-secondary-sky);
    background: var(--fst-secondary-sky-soft);
}

.fst-file-preview {
    margin-top: 1rem;
    border: 1px solid var(--fst-border);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.fst-file-preview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.72rem 0.85rem;
    border-bottom: 1px solid var(--fst-border);
    background: #fbfdff;
}

.fst-file-preview__title {
    min-width: 0;
}

.fst-file-preview__title strong,
.fst-file-preview__title small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fst-file-preview__title strong {
    color: var(--fst-heading);
    font-size: 0.9rem;
}

.fst-file-preview__title small {
    color: var(--fst-muted);
    font-size: 0.74rem;
}

.fst-file-preview__actions {
    display: inline-flex;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.fst-file-preview iframe,
.fst-file-preview img {
    display: block;
    width: 100%;
    min-height: 520px;
    border: 0;
    background: #f8fafc;
}

.fst-modern .bg-gradient-info,
.fst-modern .bg-gradient-primary {
    background: linear-gradient(135deg, var(--fst-secondary-sky), var(--fst-primary-gold)) !important;
}

.fst-modern .bg-purple,
.fst-modern .badge.bg-purple {
    background: #8b7cf6 !important;
}

@media (max-width: 767.98px) {
    .fst-landing-nav {
        align-items: flex-start;
    }

    .fst-landing-brand small {
        display: none;
    }

    .fst-landing-hero,
    .fst-flow-section {
        grid-template-columns: 1fr;
        padding-top: 36px;
    }

    .fst-feature-grid,
    .fst-file-list {
        grid-template-columns: 1fr;
    }

    .fst-landing-footer {
        flex-direction: column;
    }

    .fst-user-name {
        max-width: 110px;
    }

    .fst-user-dropdown {
        right: 8px !important;
        left: auto !important;
    }

    .fst-modern .content-header {
        padding: 18px 1rem 6px;
    }

    .fst-modern .content,
    .fst-modern .fst-content {
        padding: 12px 1rem 24px;
    }

    .fst-modern h1 {
        font-size: 1.35rem;
    }

    .fst-page-heading {
        align-items: flex-start;
        padding: 1rem;
    }

    .fst-page-heading__title-row {
        align-items: flex-start;
    }

    .fst-page-heading__icon,
    .fst-page-heading__help {
        width: 38px;
        height: 38px;
    }

    .fst-modern .card-body {
        padding: 1rem;
    }
}

@media (max-width: 991.98px) {
    .fst-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .fst-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* --- New AI Highlight Section --- */
.fst-ai-highlight {
    background-color: var(--fst-background);
    position: relative;
    border-top: 1px solid var(--fst-border);
    border-bottom: 1px solid var(--fst-border);
    margin-top: 2rem;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.fst-ai-highlight .fst-feature-grid article {
    background: #ffffff;
    border: 1px solid var(--fst-border);
    border-bottom: 4px solid var(--fst-secondary-sky);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fst-ai-highlight .fst-feature-grid article:hover {
    transform: translateY(-8px);
    box-shadow: var(--fst-shadow);
    border-color: var(--fst-secondary-sky);
}

.fst-ai-highlight .fst-feature-grid i {
    background: linear-gradient(135deg, var(--fst-secondary-sky-dark), var(--fst-secondary-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
}

.fst-ai-powered-by {
    text-align: center;
    margin-top: 4rem;
    padding: 1rem;
    opacity: 0.7;
}

.fst-ai-powered-by strong {
    color: var(--fst-secondary-sky-dark);
}
