/*
 * BOQ PORTAL — CLARITY DESIGN SYSTEM
 * styles.css · Load on every page
 * Full visual redesign — clean, professional, modern
 */

@charset "UTF-8";

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Typography */
  --font-sans: "Inter", "Roboto", system-ui, -apple-system, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;

  /* Brand — sky blue */
  --brand: #50c5ff;
  --brand-dark: #36bafc;
  --brand-deeper: #0369a1;
  --brand-soft: rgba(14, 165, 233, 0.07);
  --brand-ring: rgba(14, 165, 233, 0.20);
  --brand-50: #f0f9ff;
  --brand-100: #e0f2fe;
  --brand-200: #bae6fd;

  /* Neutrals — cool slate */
  --n-0: #ffffff;
  --n-50: #f8fafc;
  --n-100: #f1f5f9;
  --n-150: #eaf0f6;
  --n-200: #e2e8f0;
  --n-300: #cbd5e1;
  --n-400: #94a3b8;
  --n-500: #64748b;
  --n-600: #475569;
  --n-700: #334155;
  --n-800: #1e293b;
  --n-900: #0f172a;
  --n-950: #070e1a;

  /* Semantic colors */
  --green-50: #ecfdf5;
  --green: #10b981;
  --green-dark: #059669;
  --green-text: #065f46;

  --amber-50: #fffbeb;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-text: #92400e;

  --red-50: #fef2f2;
  --red: #ef4444;
  --red-dark: #dc2626;
  --red-text: #991b1b;

  --violet-50: #f5f3ff;
  --violet: #8b5cf6;
  --violet-dark: #7c3aed;
  --violet-text: #5b21b6;

  /* Surfaces */
  --bg: #f1f5f9;
  --bg-page: #f1f5f9;
  --surface: #ffffff;
  --surface-1: #f8fafc;
  --surface-2: #f1f5f9;

  /* Borders */
  --border: #e2e8f0;
  --border-md: #cbd5e1;
  --border-focus: #0ea5e9;

  /* Text */
  --text: #334155;
  --text-head: #0f172a;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --text-inv: #ffffff;

  /* Elevation */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.07), 0 3px 6px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 16px 40px rgba(15, 23, 42, 0.08), 0 6px 12px rgba(15, 23, 42, 0.04);

  /* Radius */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-2xl: 24px;
  --r-pill: 9999px;

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .12s var(--ease);
  --t-base: .2s var(--ease);
  --t-slow: .35s var(--ease);

  /* Backward-compatible aliases */
  --default-font: var(--font-sans);
  --heading-font: var(--font-display);
  --background-color: var(--bg);
  --surface-color: var(--surface);
  --default-color: var(--text);
  --heading-color: var(--text-head);
  --accent-color: var(--brand);
  --accent-hover: var(--brand-dark);
  --accent-soft: var(--brand-soft);
  --border-color: var(--border);
  --contrast-color: var(--text-inv);
  --box-shadow-md: var(--shadow-md);

  scroll-behavior: smooth;
}

/* ═══════════════════════════════════════════════════════════════
   BASE RESET
   ═══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-head);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 0;
}

p {
  margin-top: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

section,
.section {
  padding: 52px 0;
  background: var(--bg);
  overflow: clip;
}


/* ═══════════════════════════════════════════════════════════════
   PAGE HERO  (.page-header)
   ═══════════════════════════════════════════════════════════════ */
.page-header,
.web-panel-hero {
  position: relative;
  min-height: 300px;
  padding: 96px 24px 56px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}

/* primary gradient overlay — modern dark-to-muted */
.page-header::before,
.web-panel-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg,
      rgba(7, 14, 26, .96) 0%,
      rgba(14, 27, 52, .88) 38%,
      rgba(14, 27, 52, .72) 100%);
}

/* accent glow top-right */
.page-header::after,
.web-panel-hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(14, 165, 233, .22) 0%,
      rgba(14, 165, 233, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* subtle dot mesh */
.page-header .container,
.web-panel-hero .container {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
}

/* Hero badge */
.hero-badge,
.web-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  margin-bottom: 20px;
  border-radius: var(--r-pill);
  background: rgba(14, 165, 233, .14);
  border: 1px solid rgba(14, 165, 233, .28);
  color: #bae6fd;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hero-badge i,
.web-hero-badge i {
  color: var(--brand);
}

.page-header h1,
.web-panel-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-header>.container>p,
.web-panel-hero>.container>p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .78);
  font-size: .925rem;
  line-height: 1.75;
}

/* Breadcrumbs */
.page-header .breadcrumbs,
.web-panel-hero .breadcrumbs {
  margin-top: 24px;
}

.page-header .breadcrumbs ol,
.web-panel-hero .breadcrumbs ol {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-header .breadcrumbs li,
.web-panel-hero .breadcrumbs li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
}

.page-header .breadcrumbs li a,
.web-panel-hero .breadcrumbs li a {
  color: rgba(255, 255, 255, .65);
  transition: color var(--t-fast);
}

.page-header .breadcrumbs li a:hover,
.web-panel-hero .breadcrumbs li a:hover {
  color: var(--brand);
}

/* Current page breadcrumb */
.page-header .breadcrumbs li:last-child,
.web-panel-hero .breadcrumbs li:last-child {
  color: var(--brand);
  font-weight: 700;
}

/* Separator */
.page-header .breadcrumbs li+li::before,
.web-panel-hero .breadcrumbs li+li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(255, 255, 255, .3);
  font-weight: 400;
}

/* Mobile */
@media (max-width: 575.98px) {

  .page-header .breadcrumbs li,
  .web-panel-hero .breadcrumbs li {
    font-size: .75rem;
  }
}

/* center text on page-title hero (original structure) */
.page-title.page-header,
.page-title.web-panel-hero {
  text-align: center;
}

.page-title.page-header>.container,
.page-title.web-panel-hero>.container {
  text-align: center;
}

.page-title.page-header>.container>p,
.page-title.web-panel-hero>.container>p {
  margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION TITLE
   ═══════════════════════════════════════════════════════════════ */
.section-title {
  margin-bottom: 28px;
}

.section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-title h2::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--brand);
  opacity: .4;
}

.section-title p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.3;
}


/* ═══════════════════════════════════════════════════════════════
   STAT CARDS  (.stat-card / legacy .web-top-card)
   ═══════════════════════════════════════════════════════════════ */
.stat-card,
.web-top-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  overflow: hidden;
}

/* top accent stripe */
.stat-card::before,
.web-top-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 0 0 var(--r-pill) var(--r-pill);
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}

.stat-card:hover,
.web-top-card:hover {
  border-color: var(--brand-ring);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--brand-soft);
  transform: translateY(-2px);
}

.stat-card:hover::before,
.web-top-card:hover::before {
  opacity: 1;
}

/* Danger variant */
.stat-card--danger,
.web-top-card-danger-soft {
  border-color: rgba(239, 68, 68, .18);
}

.stat-card--danger::before,
.web-top-card-danger-soft::before {
  background: linear-gradient(90deg, var(--red), transparent);
}

/* Icon tile */
.stat-card-icon,
.web-top-card-icon,
.web-table-title-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: var(--r-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 1.15rem;
  border: 1px solid var(--brand-200);
}

.stat-card-icon--success,
.web-top-card-success {
  background: var(--green-50);
  color: var(--green);
  border-color: rgba(16, 185, 129, .2);
}

.stat-card-icon--danger,
.web-top-card-danger {
  background: var(--red-50);
  color: var(--red);
  border-color: rgba(239, 68, 68, .2);
}

/* Body */
.stat-card-body,
.web-top-card-content {
  flex: 1 1 auto;
  min-width: 0;
}

.stat-card-body h4,
.web-top-card-content h4 {
  margin: 0 0 4px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-card-value,
.web-top-card-value {
  margin-bottom: 6px;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-head);
  line-height: 1;
}

.stat-card-body p,
.web-top-card-content p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--text-faint);
}


/* ═══════════════════════════════════════════════════════════════
   BUTTON SYSTEM
   ═══════════════════════════════════════════════════════════════ */
.btn-primary,
.btn-secondary,
.btn-full,
.btn-1,
.btn-2,
.btn-3,
.action-btn,
.btn-pill,
.schedule-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: .838rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-base);
  position: relative;
}

/* Primary */
.btn-primary,
.btn-1 {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(14, 165, 233, .25), 0 4px 12px rgba(14, 165, 233, .18);
}

.btn-primary:hover,
.btn-1:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  box-shadow: 0 2px 4px rgba(14, 165, 233, .3), 0 6px 16px rgba(14, 165, 233, .22);
  transform: translateY(-1px);
}

/* Secondary */
.btn-secondary,
.btn-2,
.btn-3,
.schedule-action-btn {
  background: var(--surface);
  border-color: var(--border-md);
  color: var(--text-head);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover,
.btn-2:hover,
.btn-3:hover,
.schedule-action-btn:hover {
  background: var(--n-50);
  border-color: var(--brand-ring);
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-full,
.btn-3 {
  width: 100%;
}

.btn-pill {
  border-radius: var(--r-pill);
}

/* Row action buttons */
.action-btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: .8rem;
  background: var(--brand-soft);
  border-color: rgba(14, 165, 233, .15);
  color: var(--brand-deeper);
  border-radius: var(--r-sm);
}

.action-btn:hover {
  background: rgba(14, 165, 233, .12);
  border-color: rgba(14, 165, 233, .28);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.action-btn--edit,
.action-btn-edit {
  background: rgba(245, 158, 11, .07);
  border-color: rgba(245, 158, 11, .18);
  color: var(--amber-dark);
}

.action-btn--edit:hover,
.action-btn-edit:hover {
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .28);
  color: var(--amber-text);
}

.action-btn--delete,
.button-action-btn-delete,
.btn-danger.btn-pill {
  background: rgba(239, 68, 68, .07);
  border-color: rgba(239, 68, 68, .16);
  color: var(--red-dark);
  box-shadow: none;
}

.action-btn--delete:hover,
.button-action-btn-delete:hover,
.btn-danger.btn-pill:hover {
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .26);
  color: var(--red-text);
  transform: translateY(-1px);
}

.action-btn--view {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(14, 165, 233, .2);
}

.action-btn--view:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}


/* ═══════════════════════════════════════════════════════════════
   BADGE / STATUS PILLS
   ═══════════════════════════════════════════════════════════════ */
.badge-pill,
.web-role-badge,
.web-status-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.6;
}

.badge--primary,
.web-role-panelist {
  background: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-deeper);
}

.badge--admin,
.web-role-admin {
  background: var(--violet-50);
  border-color: rgba(139, 92, 246, .2);
  color: var(--violet-dark);
}

.badge--neutral,
.web-role-user {
  background: var(--n-100);
  border-color: var(--border);
  color: var(--n-600);
}

.badge--success,
.web-status-active,
.status-published {
  background: var(--green-50);
  border-color: rgba(16, 185, 129, .22);
  color: var(--green-text);
}

.badge--warning,
.web-status-inactive,
.status-draft {
  background: var(--amber-50);
  border-color: rgba(245, 158, 11, .22);
  color: var(--amber-text);
}

.badge--danger,
.web-status-suspended,
.web-status-out-of-stock,
.status-cancelled {
  background: var(--red-50);
  border-color: rgba(239, 68, 68, .22);
  color: var(--red-text);
}

.badge--dark,
.status-completed,
.status-default {
  background: var(--n-100);
  border-color: var(--border);
  color: var(--n-700);
}


/* ═══════════════════════════════════════════════════════════════
   INLINE ALERTS
   ═══════════════════════════════════════════════════════════════ */
.inline-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-lg);
  font-size: .85rem;
  line-height: 1.6;
  border: 1px solid transparent;
}

.inline-alert ul {
  padding-left: 16px;
  margin-bottom: 0;
}

.inline-alert--success {
  background: var(--green-50);
  border-color: rgba(16, 185, 129, .22);
  color: var(--green-text);
}

.inline-alert--danger {
  background: var(--red-50);
  border-color: rgba(239, 68, 68, .22);
  color: var(--red-text);
}

.inline-alert--warning {
  background: var(--amber-50);
  border-color: rgba(245, 158, 11, .22);
  color: var(--amber-text);
}

.inline-alert--info {
  background: var(--brand-50);
  border-color: var(--brand-ring);
  color: var(--brand-deeper);
}


/* ═══════════════════════════════════════════════════════════════
   CONTENT AREA
   ═══════════════════════════════════════════════════════════════ */
.create-page {
  min-height: 400px;
}

.create-page .col-lg-10 {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}


/* ═══════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  background: var(--brand);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(14, 165, 233, .35);
  cursor: pointer;
  transition: all var(--t-base);
}

.scroll-top i {
  font-size: 18px;
}

.scroll-top:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, .4);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

@media (max-width: 991.98px) {

  .page-header,
  .web-panel-hero {
    min-height: 260px;
    padding: 88px 18px 48px;
  }
}

@media (max-width: 767.98px) {

  section,
  .section {
    padding: 40px 0;
  }

  .page-header,
  .web-panel-hero {
    padding: 76px 16px 40px;
    min-height: auto;
  }

  .hero-badge,
  .web-hero-badge {
    font-size: .68rem;
  }

  .page-header h1,
  .web-panel-hero h1 {
    font-size: 1.6rem;
  }

  .stat-card,
  .web-top-card {
    padding: 18px;
  }

  .stat-card-value,
  .web-top-card-value {
    font-size: 1.55rem;
  }

  .stat-card-icon,
  .web-top-card-icon,
  .web-table-title-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
}

@media (max-width: 575.98px) {

  .page-header h1,
  .web-panel-hero h1 {
    font-size: 1.4rem;
  }

  .stat-card,
  .web-top-card {
    gap: 14px;
    border-radius: var(--r-lg);
  }

  .btn-primary,
  .btn-secondary,
  .btn-1,
  .btn-2,
  .action-btn {
    min-height: 38px;
    font-size: .8rem;
  }

  .section-title p {
    font-size: 1.15rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   WELCOME PAGE CLASSES  (welcome.blade.php)
   ═══════════════════════════════════════════════════════════════ */
.welcome-page {
  min-height: 100vh;
  padding: 24px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, .20), transparent 32%),
    radial-gradient(circle at bottom left, rgba(14, 165, 233, .06), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.welcome-card {
  width: 100%;
  max-width: 760px;
  padding: 48px;
  border-radius: var(--r-2xl);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.welcome-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, .16), transparent 70%);
  pointer-events: none;
}

.welcome-content {
  position: relative;
  z-index: 2;
}

.welcome-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 22px;
  padding: 14px;
  border-radius: var(--r-xl);
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--brand-200);
  box-shadow: var(--shadow-md);
}

.welcome-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand-deeper);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.welcome-badge i {
  color: var(--brand);
}

.welcome-title {
  margin: 0 0 16px;
  color: var(--text-head);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.welcome-text {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--text);
  font-size: .975rem;
  line-height: 1.8;
}

.welcome-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.welcome-btn {
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--r-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: .925rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--t-base);
  border: 1px solid transparent;
}

.welcome-btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, .26);
}

.welcome-btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, .34);
}

.welcome-btn-light {
  background: var(--surface);
  border-color: var(--border-md);
  color: var(--text-head);
  box-shadow: var(--shadow-xs);
}

.welcome-btn-light:hover {
  border-color: var(--brand-ring);
  color: var(--brand-dark);
  background: var(--n-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.welcome-note {
  max-width: 590px;
  margin: 0 auto;
  padding: 13px 16px;
  border-radius: var(--r-lg);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand-deeper);
  font-size: .88rem;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.welcome-note i {
  color: var(--brand-dark);
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .welcome-page {
    padding: 16px 12px;
  }

  .welcome-card {
    padding: 28px 18px;
    border-radius: var(--r-xl);
  }

  .welcome-logo {
    width: 86px;
    height: 86px;
  }

  .welcome-title {
    font-size: 1.85rem;
  }

  .welcome-text {
    font-size: .9rem;
  }

  .welcome-actions {
    flex-direction: column;
    gap: 10px;
  }

  .welcome-btn {
    width: 100%;
    min-height: 46px;
  }
}