/* =========================================================
   GTF BANKING — GLOBAL STYLES
   File: frontend/css/styles.css
   ========================================================= */

/* -------------------------
   DESIGN TOKENS
------------------------- */

:root {
  --gtf-navy: #0b2a4a;
  --gtf-navy-2: #071d35;
  --gtf-blue: #145da0;
  --gtf-blue-dark: #0d477c;
  --gtf-blue-light: #eaf3fb;

  --gtf-gold: #c9962b;
  --gtf-gold-light: #f6d365;

  --gtf-white: #ffffff;
  --gtf-background: #f4f7fa;
  --gtf-surface: #ffffff;
  --gtf-surface-soft: #f8fafc;

  --gtf-text: #172b3a;
  --gtf-text-soft: #425466;
  --gtf-muted: #66788a;

  --gtf-border: #d8e1e9;
  --gtf-border-light: #e9eef3;

  --gtf-success: #16794c;
  --gtf-success-bg: #eaf8f0;

  --gtf-warning: #946200;
  --gtf-warning-bg: #fff7df;

  --gtf-danger: #b42318;
  --gtf-danger-bg: #fff0ee;

  --gtf-info: #145da0;
  --gtf-info-bg: #eef6fd;

  --gtf-radius-sm: 6px;
  --gtf-radius: 9px;
  --gtf-radius-lg: 14px;

  --gtf-shadow-sm:
    0 2px 8px rgba(11, 42, 74, 0.05);

  --gtf-shadow:
    0 5px 20px rgba(11, 42, 74, 0.07);

  --gtf-shadow-lg:
    0 12px 35px rgba(11, 42, 74, 0.12);

  --gtf-container: 1400px;

  --gtf-transition:
    160ms ease;
}


/* -------------------------
   RESET
------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;

  background: var(--gtf-background);
  color: var(--gtf-text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  font-size: 15px;
  line-height: 1.55;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--gtf-navy);
  line-height: 1.25;
}

p {
  margin-top: 0;
}


/* -------------------------
   ACCESSIBILITY
------------------------- */

:focus-visible {
  outline: 3px solid rgba(20, 93, 160, 0.35);
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* -------------------------
   CONTAINERS
------------------------- */

.gtf-container {
  width: min(
    calc(100% - 40px),
    var(--gtf-container)
  );

  margin-inline: auto;
}

.container {
  width: min(
    calc(100% - 40px),
    var(--gtf-container)
  );

  margin-inline: auto;
}


/* -------------------------
   GLOBAL HEADER
------------------------- */

.gtf-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: var(--gtf-navy);
  color: var(--gtf-white);

  border-bottom: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 2px 12px rgba(0,0,0,0.1);
}

.gtf-header-inner {
  width: min(
    calc(100% - 40px),
    var(--gtf-container)
  );

  min-height: 70px;
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.gtf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  min-width: 0;
}

.gtf-logo {
  width: 44px;
  height: 44px;

  object-fit: contain;
  flex: 0 0 auto;
}

.gtf-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gtf-brand-name {
  color: var(--gtf-white);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.1;
}

.gtf-brand-subtitle {
  margin-top: 3px;
  color: #cbd9e6;
  font-size: 0.68rem;
  line-height: 1.1;
}


/* -------------------------
   NAVIGATION
------------------------- */

.gtf-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gtf-nav a {
  padding: 9px 11px;

  border-radius: var(--gtf-radius-sm);

  color: #e6eef5;

  font-size: 0.78rem;
  font-weight: 650;

  transition:
    background var(--gtf-transition),
    color var(--gtf-transition);
}

.gtf-nav a:hover,
.gtf-nav a.active {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}


/* -------------------------
   MOBILE NAVIGATION
------------------------- */

.gtf-menu-button {
  display: none;

  min-width: 40px;
  min-height: 40px;

  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--gtf-radius-sm);

  background: transparent;
  color: #ffffff;
}


/* -------------------------
   BUTTONS
------------------------- */

.gtf-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 42px;

  padding: 9px 16px;

  border: 1px solid transparent;
  border-radius: var(--gtf-radius-sm);

  font-size: 0.78rem;
  font-weight: 700;

  line-height: 1;

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

.gtf-btn:hover {
  transform: translateY(-1px);
}

.gtf-btn-primary {
  background: var(--gtf-blue);
  border-color: var(--gtf-blue);
  color: #ffffff;
}

.gtf-btn-primary:hover {
  background: var(--gtf-blue-dark);
  border-color: var(--gtf-blue-dark);
}

.gtf-btn-secondary {
  background: #ffffff;
  border-color: var(--gtf-border);
  color: var(--gtf-text);
}

.gtf-btn-secondary:hover {
  background: var(--gtf-surface-soft);
}

.gtf-btn-gold {
  background: var(--gtf-gold);
  border-color: var(--gtf-gold);
  color: #ffffff;
}

.gtf-btn-gold:hover {
  background: #b78320;
}

.gtf-btn-danger {
  background: var(--gtf-danger);
  border-color: var(--gtf-danger);
  color: #ffffff;
}

.gtf-btn-success {
  background: var(--gtf-success);
  border-color: var(--gtf-success);
  color: #ffffff;
}

.gtf-btn-sm {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 0.7rem;
}

.gtf-btn-lg {
  min-height: 48px;
  padding: 12px 20px;
  font-size: 0.84rem;
}

.gtf-btn-block {
  width: 100%;
}


/* -------------------------
   HERO
------------------------- */

.gtf-hero {
  padding: 80px 0;

  background:
    linear-gradient(
      135deg,
      var(--gtf-navy),
      var(--gtf-blue)
    );

  color: #ffffff;
}

.gtf-hero-content {
  max-width: 760px;
}

.gtf-hero h1 {
  margin-bottom: 18px;

  color: #ffffff;

  font-size:
    clamp(2rem, 5vw, 3.5rem);

  letter-spacing: -0.03em;
}

.gtf-hero p {
  max-width: 680px;

  color: #d9e5ef;

  font-size: 1rem;
}


/* -------------------------
   SECTIONS
------------------------- */

.gtf-section {
  padding: 65px 0;
}

.gtf-section-sm {
  padding: 35px 0;
}

.gtf-section-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.gtf-section-header h2 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.gtf-section-header p {
  color: var(--gtf-muted);
}


/* -------------------------
   CARDS
------------------------- */

.gtf-card {
  overflow: hidden;

  background: var(--gtf-surface);

  border:
    1px solid var(--gtf-border);

  border-radius:
    var(--gtf-radius);

  box-shadow:
    var(--gtf-shadow);
}

.gtf-card-header {
  padding: 18px 20px;

  border-bottom:
    1px solid var(--gtf-border);
}

.gtf-card-header h2,
.gtf-card-header h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.gtf-card-header p {
  margin-bottom: 0;

  color: var(--gtf-muted);
  font-size: 0.72rem;
}

.gtf-card-body {
  padding: 20px;
}

.gtf-card-footer {
  padding: 14px 20px;

  background: var(--gtf-surface-soft);

  border-top:
    1px solid var(--gtf-border);
}


/* -------------------------
   GRID
------------------------- */

.gtf-grid {
  display: grid;
  gap: 18px;
}

.gtf-grid-2 {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
}

.gtf-grid-3 {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

.gtf-grid-4 {
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
}


/* -------------------------
   FORMS
------------------------- */

.gtf-form {
  width: 100%;
}

.gtf-form-group {
  margin-bottom: 16px;
}

.gtf-form-label {
  display: block;

  margin-bottom: 6px;

  color: var(--gtf-text);

  font-size: 0.74rem;
  font-weight: 700;
}

.gtf-input,
.gtf-select,
.gtf-textarea {
  width: 100%;

  min-height: 42px;

  padding: 9px 11px;

  background: #ffffff;

  border:
    1px solid var(--gtf-border);

  border-radius:
    var(--gtf-radius-sm);

  color: var(--gtf-text);

  outline: none;

  transition:
    border-color var(--gtf-transition),
    box-shadow var(--gtf-transition);
}

.gtf-textarea {
  min-height: 110px;
  resize: vertical;
}

.gtf-input:hover,
.gtf-select:hover,
.gtf-textarea:hover {
  border-color: #b9c8d5;
}

.gtf-input:focus,
.gtf-select:focus,
.gtf-textarea:focus {
  border-color: var(--gtf-blue);

  box-shadow:
    0 0 0 3px
    rgba(20,93,160,0.1);
}

.gtf-input::placeholder,
.gtf-textarea::placeholder {
  color: #91a0ad;
}

.gtf-help {
  margin-top: 5px;

  color: var(--gtf-muted);

  font-size: 0.65rem;
}

.gtf-form-row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 15px;
}


/* -------------------------
   AUTHENTICATION
------------------------- */

.gtf-auth-page {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px 15px;

  background:
    linear-gradient(
      135deg,
      #eef4f9,
      #f8fafc
    );
}

.gtf-auth-wrapper {
  width: min(100%, 470px);
}

.gtf-auth-card {
  padding: 30px;

  background: #ffffff;

  border:
    1px solid var(--gtf-border);

  border-radius:
    var(--gtf-radius-lg);

  box-shadow:
    var(--gtf-shadow-lg);
}

.gtf-auth-brand {
  margin-bottom: 25px;

  text-align: center;
}

.gtf-auth-brand img {
  width: 70px;
  height: 70px;

  object-fit: contain;

  margin-bottom: 10px;
}

.gtf-auth-brand h1 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.gtf-auth-brand p {
  margin-bottom: 0;

  color: var(--gtf-muted);
  font-size: 0.75rem;
}

.gtf-auth-footer {
  margin-top: 20px;

  color: var(--gtf-muted);

  text-align: center;

  font-size: 0.72rem;
}

.gtf-auth-footer a {
  color: var(--gtf-blue);
  font-weight: 700;
}


/* -------------------------
   ALERTS
------------------------- */

.gtf-alert {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  padding: 12px 14px;

  margin-bottom: 16px;

  border-radius:
    var(--gtf-radius-sm);

  font-size: 0.76rem;
}

.gtf-alert-success {
  background: var(--gtf-success-bg);
  border: 1px solid #b9dec9;
  color: var(--gtf-success);
}

.gtf-alert-warning {
  background: var(--gtf-warning-bg);
  border: 1px solid #ead79d;
  color: var(--gtf-warning);
}

.gtf-alert-danger {
  background: var(--gtf-danger-bg);
  border: 1px solid #efc1bc;
  color: var(--gtf-danger);
}

.gtf-alert-info {
  background: var(--gtf-info-bg);
  border: 1px solid #c8dff0;
  color: var(--gtf-info);
}


/* -------------------------
   BADGES
------------------------- */

.gtf-badge {
  display: inline-flex;

  align-items: center;

  padding: 4px 8px;

  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 700;

  white-space: nowrap;
}

.gtf-badge-success {
  background: var(--gtf-success-bg);
  color: var(--gtf-success);
}

.gtf-badge-warning {
  background: var(--gtf-warning-bg);
  color: var(--gtf-warning);
}

.gtf-badge-danger {
  background: var(--gtf-danger-bg);
  color: var(--gtf-danger);
}

.gtf-badge-info {
  background: var(--gtf-info-bg);
  color: var(--gtf-info);
}

.gtf-badge-neutral {
  background: #edf1f4;
  color: var(--gtf-text-soft);
}


/* -------------------------
   STATISTICS
------------------------- */

.gtf-stat {
  padding: 18px;

  background: #ffffff;

  border:
    1px solid var(--gtf-border);

  border-radius:
    var(--gtf-radius);

  box-shadow:
    var(--gtf-shadow-sm);
}

.gtf-stat-label {
  color: var(--gtf-muted);

  font-size: 0.7rem;
  font-weight: 700;
}

.gtf-stat-value {
  margin-top: 7px;

  color: var(--gtf-navy);

  font-size: 1.5rem;
  font-weight: 750;
}

.gtf-stat-note {
  margin-top: 4px;

  color: var(--gtf-muted);

  font-size: 0.65rem;
}


/* -------------------------
   ACCOUNT CARDS
------------------------- */

.gtf-account-card {
  padding: 22px;

  background:
    linear-gradient(
      135deg,
      var(--gtf-navy),
      var(--gtf-blue)
    );

  color: #ffffff;

  border-radius:
    var(--gtf-radius-lg);

  box-shadow:
    var(--gtf-shadow-lg);
}

.gtf-account-card h3 {
  color: #ffffff;
}

.gtf-account-number {
  margin-top: 20px;

  color: #d9e5ef;

  font-size: 0.72rem;
}

.gtf-account-balance {
  margin-top: 5px;

  color: #ffffff;

  font-size: 1.9rem;
  font-weight: 750;
}

.gtf-account-currency {
  color: #d9e5ef;
  font-size: 0.68rem;
}


/* -------------------------
   TABLES
------------------------- */

.gtf-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.gtf-table {
  width: 100%;

  border-collapse: collapse;

  min-width: 620px;
}

.gtf-table th,
.gtf-table td {
  padding: 11px 10px;

  border-bottom:
    1px solid var(--gtf-border-light);

  text-align: left;

  font-size: 0.72rem;
}

.gtf-table th {
  background: #fafbfd;

  color: var(--gtf-muted);

  font-size: 0.64rem;
  font-weight: 750;

  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gtf-table td {
  color: var(--gtf-text);
}

.gtf-table tbody tr:hover {
  background: #fbfcfd;
}


/* -------------------------
   DASHBOARD LAYOUT
------------------------- */

.gtf-dashboard {
  min-height: 100vh;

  display: grid;

  grid-template-columns:
    230px minmax(0, 1fr);
}

.gtf-sidebar {
  background: #ffffff;

  border-right:
    1px solid var(--gtf-border);

  padding: 22px 14px;
}

.gtf-sidebar-title {
  margin:
    0 10px 12px;

  color: var(--gtf-muted);

  font-size: 0.68rem;
  font-weight: 750;

  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gtf-sidebar-nav {
  display: flex;

  flex-direction: column;

  gap: 4px;
}

.gtf-sidebar-nav a {
  padding: 10px 12px;

  border-radius:
    var(--gtf-radius-sm);

  color: var(--gtf-text);

  font-size: 0.78rem;
  font-weight: 650;

  transition:
    background var(--gtf-transition),
    color var(--gtf-transition);
}

.gtf-sidebar-nav a:hover,
.gtf-sidebar-nav a.active {
  background: var(--gtf-blue-light);
  color: var(--gtf-blue);
}

.gtf-dashboard-main {
  min-width: 0;
  padding: 28px;
}


/* -------------------------
   DASHBOARD TOPBAR
------------------------- */

.gtf-topbar {
  min-height: 64px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding:
    10px 18px;

  background: #ffffff;

  border-bottom:
    1px solid var(--gtf-border);
}

.gtf-topbar-title {
  color: var(--gtf-navy);

  font-size: 0.95rem;
  font-weight: 750;
}


/* -------------------------
   PAGE HEADINGS
------------------------- */

.gtf-page-heading {
  margin-bottom: 22px;

  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;
}

.gtf-page-heading h1 {
  margin-bottom: 5px;

  color: var(--gtf-navy);

  font-size: 1.8rem;
}

.gtf-page-heading p {
  margin-bottom: 0;

  color: var(--gtf-muted);

  font-size: 0.82rem;
}


/* -------------------------
   LISTS
------------------------- */

.gtf-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gtf-list-item {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding: 12px 0;

  border-bottom:
    1px solid var(--gtf-border-light);
}

.gtf-list-item:last-child {
  border-bottom: 0;
}

.gtf-list-label {
  color: var(--gtf-muted);
  font-size: 0.7rem;
}

.gtf-list-value {
  color: var(--gtf-text);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: right;
}


/* -------------------------
   SEARCH
------------------------- */

.gtf-search {
  display: flex;

  gap: 8px;
}

.gtf-search input {
  flex: 1;
}


/* -------------------------
   EMPTY STATES
------------------------- */

.gtf-empty {
  padding: 35px 20px;

  color: var(--gtf-muted);

  text-align: center;

  font-size: 0.78rem;
}


/* -------------------------
   LOADING
------------------------- */

.gtf-loading {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: var(--gtf-muted);

  font-size: 0.75rem;
}

.gtf-spinner {
  width: 17px;
  height: 17px;

  border:
    2px solid #dce5ec;

  border-top-color:
    var(--gtf-blue);

  border-radius: 50%;

  animation:
    gtf-spin 0.8s linear infinite;
}

@keyframes gtf-spin {
  to {
    transform: rotate(360deg);
  }
}


/* -------------------------
   MODAL
------------------------- */

.gtf-modal {
  position: fixed;

  inset: 0;

  z-index: 2000;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background:
    rgba(7, 29, 53, 0.55);
}

.gtf-modal.is-open {
  display: flex;
}

.gtf-modal-content {
  width: min(100%, 600px);

  max-height: calc(100vh - 40px);

  overflow-y: auto;

  background: #ffffff;

  border-radius:
    var(--gtf-radius-lg);

  box-shadow:
    var(--gtf-shadow-lg);
}

.gtf-modal-header {
  padding: 18px 20px;

  border-bottom:
    1px solid var(--gtf-border);

  display: flex;

  align-items: center;
  justify-content: space-between;
}

.gtf-modal-body {
  padding: 20px;
}

.gtf-modal-close {
  border: 0;

  background: transparent;

  color: var(--gtf-muted);

  font-size: 1.2rem;
}


/* -------------------------
   FOOTER
------------------------- */

.gtf-footer {
  padding: 35px 0;

  background: var(--gtf-navy);

  color: #cbd9e6;
}

.gtf-footer-grid {
  display: grid;

  grid-template-columns:
    2fr repeat(3, 1fr);

  gap: 30px;
}

.gtf-footer h3,
.gtf-footer h4 {
  color: #ffffff;
}

.gtf-footer p {
  color: #b8c9d8;
  font-size: 0.75rem;
}

.gtf-footer a {
  display: block;

  margin-bottom: 7px;

  color: #cbd9e6;

  font-size: 0.72rem;
}

.gtf-footer a:hover {
  color: #ffffff;
}

.gtf-footer-bottom {
  margin-top: 30px;

  padding-top: 18px;

  border-top:
    1px solid rgba(255,255,255,0.1);

  color: #9eb2c4;

  font-size: 0.68rem;
}


/* -------------------------
   SECURITY / TRUST
------------------------- */

.gtf-security-notice {
  padding: 14px;

  background: var(--gtf-info-bg);

  border:
    1px solid #c8dff0;

  border-radius:
    var(--gtf-radius);

  color: var(--gtf-text-soft);

  font-size: 0.72rem;
}

.gtf-security-notice strong {
  display: block;

  margin-bottom: 4px;

  color: var(--gtf-navy);
}


/* -------------------------
   DIVIDERS
------------------------- */

.gtf-divider {
  height: 1px;

  margin: 20px 0;

  background:
    var(--gtf-border);
}


/* -------------------------
   UTILITY CLASSES
------------------------- */

.gtf-text-primary {
  color: var(--gtf-blue) !important;
}

.gtf-text-muted {
  color: var(--gtf-muted) !important;
}

.gtf-text-success {
  color: var(--gtf-success) !important;
}

.gtf-text-warning {
  color: var(--gtf-warning) !important;
}

.gtf-text-danger {
  color: var(--gtf-danger) !important;
}

.gtf-text-center {
  text-align: center !important;
}

.gtf-text-right {
  text-align: right !important;
}

.gtf-fw-normal {
  font-weight: 400 !important;
}

.gtf-fw-medium {
  font-weight: 600 !important;
}

.gtf-fw-bold {
  font-weight: 750 !important;
}

.gtf-mt-0 {
  margin-top: 0 !important;
}

.gtf-mt-1 {
  margin-top: 8px !important;
}

.gtf-mt-2 {
  margin-top: 16px !important;
}

.gtf-mt-3 {
  margin-top: 24px !important;
}

.gtf-mb-0 {
  margin-bottom: 0 !important;
}

.gtf-mb-1 {
  margin-bottom: 8px !important;
}

.gtf-mb-2 {
  margin-bottom: 16px !important;
}

.gtf-mb-3 {
  margin-bottom: 24px !important;
}

.gtf-p-0 {
  padding: 0 !important;
}

.gtf-hidden {
  display: none !important;
}

.gtf-flex {
  display: flex !important;
}

.gtf-flex-center {
  display: flex !important;

  align-items: center;
  justify-content: center;
}

.gtf-flex-between {
  display: flex !important;

  align-items: center;
  justify-content: space-between;
}

.gtf-gap-1 {
  gap: 8px !important;
}

.gtf-gap-2 {
  gap: 16px !important;
}


/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 1100px) {

  .gtf-grid-4 {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .gtf-grid-3 {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .gtf-footer-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 850px) {

  .gtf-header-inner {
    width: min(
      calc(100% - 28px),
      var(--gtf-container)
    );
  }

  .gtf-nav {
    display: none;
  }

  .gtf-menu-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;
  }

  .gtf-dashboard {
    grid-template-columns: 1fr;
  }

  .gtf-sidebar {
    border-right: 0;
    border-bottom:
      1px solid var(--gtf-border);
  }

  .gtf-sidebar-nav {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .gtf-dashboard-main {
    padding: 20px;
  }

  .gtf-grid-2,
  .gtf-form-row {
    grid-template-columns: 1fr;
  }

  .gtf-page-heading {
    display: block;
  }
}


@media (max-width: 650px) {

  body {
    font-size: 14px;
  }

  .gtf-container,
  .container {
    width:
      calc(100% - 28px);
  }

  .gtf-header-inner {
    min-height: 62px;
  }

  .gtf-logo {
    width: 38px;
    height: 38px;
  }

  .gtf-brand-name {
    font-size: 0.9rem;
  }

  .gtf-brand-subtitle {
    font-size: 0.62rem;
  }

  .gtf-section {
    padding: 45px 0;
  }

  .gtf-hero {
    padding: 55px 0;
  }

  .gtf-hero h1 {
    font-size: 2rem;
  }

  .gtf-grid-3,
  .gtf-grid-4 {
    grid-template-columns: 1fr;
  }

  .gtf-footer-grid {
    grid-template-columns: 1fr;
  }

  .gtf-auth-card {
    padding: 22px 18px;
  }

  .gtf-card-body {
    padding: 16px;
  }

  .gtf-card-header {
    padding: 15px 16px;
  }

  .gtf-dashboard-main {
    padding: 15px;
  }

  .gtf-sidebar {
    padding: 12px;
  }

  .gtf-sidebar-nav {
    grid-template-columns: 1fr;
  }

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

  .gtf-search {
    flex-direction: column;
  }

  .gtf-btn {
    min-height: 40px;
  }
}


@media (max-width: 430px) {

  .gtf-header-inner {
    width:
      calc(100% - 20px);
  }

  .gtf-brand-subtitle {
    display: none;
  }

  .gtf-page-heading h1 {
    font-size: 1.3rem;
  }

  .gtf-auth-page {
    padding: 15px 10px;
  }

  .gtf-auth-card {
    padding: 20px 15px;
  }
}


/* -------------------------
   PRINT
------------------------- */

@media print {

  .gtf-header,
  .gtf-sidebar,
  .gtf-menu-button,
  .gtf-btn,
  .gtf-footer {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .gtf-dashboard {
    display: block;
  }

  .gtf-dashboard-main {
    padding: 0;
  }

  .gtf-card {
    box-shadow: none;
    border: 1px solid #cccccc;
  }
}


/* -------------------------
   REDUCED MOTION
------------------------- */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }
}