/* Auto-generated bundle. Do not edit directly. */
/* Configuration & Core styles */

/* 1. CONFIG & THEME */

/* --- Start of variables.css --- */
:root {
  /* Typography Config */
  --font-main: "Source Sans Pro", Helvetica, sans-serif;
  --font-heading: "Raleway", Helvetica, sans-serif;

  /* Layout Scale Config */
  --logo-height-desktop: 64px;
  --logo-height-mobile: 30px;
  --header-padding-desktop: 110px;
  --header-padding-mobile: 80px;
  --container-padding-mobile: 0.5rem;
  --mobile-nav-height: 4rem;
  /* height of .mobile-bottom-nav */
}
/* --- End of variables.css --- */
/* Theme is now loaded dynamically in base.html */
/* 
/* --- Start of themes/theme-light.css --- */
:root {
    /* Brand Colors - Deep Orange (Vibrant & Energetic) */
    --color-primary: #f4511e;
    /* Darkened slightly for better base contrast */
    --color-primary-hover: #d84315;
    --color-primary-contrast: #bf360c;
    /* High contrast version for text-on-white and light-orange (AA compliant 4.5:1+) */

    /* Navigation - Bold & Clean */
    --nav-link-color: #333333;
    --nav-link-hover: #f4511e;
    --nav-link-weight: 700;
    --nav-font-size: 1rem;

    /* Primary Button Gradient */
    --btn-primary-bg-start: #f4511e;
    --btn-primary-bg-end: #e64a19;
    --btn-primary-text: #ffffff;
    --btn-primary-border: #d84315;

    /* Hero Section Gradient - Warmer tone */
    --hero-bg-gradient: linear-gradient(180deg, #FFF3E0 0%, #ffffff 100%);
    --color-card-feature-bg: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);

    /* Status Colors */
    --color-success: #2E7D32;
    --color-success-contrast: #1B5E20;
    --color-warning: #9b5500;
    --color-warning-contrast: #754000;
    /* Darkened further for better contrast on background boxes (>5:1) */
    --color-danger: #C62828;
    --color-danger-contrast: #B71C1C;

    /* Surface Colors */
    --color-bg-body: #FAFAFA;
    --color-bg-card: #ffffff;
    --color-border: #E0E0E0;

    /* Text Colors */
    --color-text: #212121;
    --color-text-bold: #000000;
    --color-text-light: #595959;
    /* Darkened from #757575 to ensure 7:1+ contrast */

    /* Decorative */
    --shadow-card: 0 10px 40px rgba(244, 81, 30, 0.10);
    --shadow-hover: 0 20px 60px rgba(244, 81, 30, 0.15);
    --radius-card: 12px;
    --radius-btn: 6px;

    /* Padding */
    --card-padding: 2.5rem;
    --card-padding-mobile: 0.85rem;
}

/* Layout Overrides to Fix Logo/Menu */
.nav-logo,
#header .nav-logo {
    max-height: 64px !important;
    width: auto !important;
}

@media (max-width: 768px) {

    .nav-logo,
    #header .nav-logo {
        max-height: 30px !important;
    }
}

.desktop-nav,
#header .desktop-nav {
    margin-left: auto !important;
    display: flex !important;
}

@media (max-width: 768px) {

    .desktop-nav,
    #header .desktop-nav {
        display: none !important;
    }
}

/* Fix Hero Overlap */
.main-content,
#main.main-content {
    padding-top: 90px !important;
}

@media (max-width: 768px) {

    .main-content,
    #main.main-content {
        padding-top: 55px !important;
    }
}

/* Constrain Header Width */
.header-inner,
#header .header-inner {
    max-width: 1280px !important;
    margin: 0 auto !important;
}
/* --- End of themes/theme-light.css --- */
*/
/* Standard Professional Blue */
/* 
/* --- Start of themes/theme-teal.css --- */
:root {
    /* Brand Colors - Original Teal */
    --color-primary: #2ebaae;
    --color-primary-hover: #259d93;
    --color-primary-contrast: #bf360c;
    /* High contrast burgundy */

    /* Navigation */
    --nav-link-color: #646464;
    --nav-link-hover: #2ebaae;
    --nav-link-weight: 600;
    --nav-font-size: 1.05rem;

    /* Primary Button Gradient */
    --btn-primary-bg-start: #2ebaae;
    --btn-primary-bg-end: #259d93;
    --btn-primary-text: #ffffff;
    --btn-primary-border: #259d93;

    /* Hero Section Gradient */
    --hero-bg-gradient: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
    --color-card-feature-bg: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);

    /* Status Colors */
    --color-success: #10b981;
    --color-success-contrast: #1b5e20;
    --color-warning: #f59e0b;
    --color-warning-contrast: #754000;
    --color-danger: #ef4444;
    --color-danger-contrast: #b71c1c;

    /* Surface Colors */
    --color-bg-body: #f4f4f4;
    --color-bg-card: #ffffff;
    --color-border: #cbd5e1;

    /* Text Colors */
    --color-text: #646464;
    --color-text-bold: #3c3b3b;
    --color-text-light: #aaaaaa;

    /* Decorative */
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.22);
    --radius-card: 16px;
    --radius-btn: 8px;

    /* Padding */
    --card-padding: 3rem;
    --card-padding-mobile: 0.85rem;
}
/* --- End of themes/theme-teal.css --- */
<-- Uncomment this and comment the above to use Original Teal */

/* 2. BASE & RESET */

/* --- Start of reset.css --- */
/* Reset and Basic Styles */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

mark {
  background-color: transparent;
  color: inherit;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
}

/* Basic */

@-ms-viewport {
  width: device-width;
}

body {
  -ms-overflow-style: scrollbar;
}

@media screen and (max-width: 480px) {

  html,
  body {
    min-width: 320px;
  }

}

html {
  box-sizing: border-box;
}

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

body {
  background: var(--color-bg-body);
}

body.is-preload *,
body.is-preload *:before,
body.is-preload *:after {
  -moz-animation: none !important;
  -webkit-animation: none !important;
  -ms-animation: none !important;
  animation: none !important;
  -moz-transition: none !important;
  -webkit-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}
/* --- End of reset.css --- */

/* --- Start of base.css --- */
/* Profile Info (Verify) - migrated for global reuse */
.profile-info-label {
  font-weight: 600;
  color: var(--color-text-light);
  text-align: right;
}

.profile-info-value {
  color: var(--color-text);
  word-break: break-all;
  font-size: 0.85em;
}

/* Light blue background for order ID section */
.order-ref-bg {
  /* background: var(--color-info-bg, #e3f0ff); */
  border-radius: 8px;
  display: inline-block;
  font-size: 0.8em;
}

/* Global defaults (body, links, lists) */
body {
  font-family: var(--font-main);
  background-color: var(--color-bg-body);
  color: var(--color-text);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a {
  color: var(--color-primary-contrast);
  text-decoration: none;
}

ul,
ol {
  margin-left: 2em;
}

/* --- Accessibility, print, and screen-reader styles migrated from custom.css --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 8px 16px;
  z-index: 100001;
  text-decoration: none;
  border-radius: 0 0 var(--radius-btn) 0;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary) !important;
  box-shadow: none !important;
}

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

@media print {

  #header,
  .mobile-bottom-nav,
  .ad-placeholder {
    display: none !important;
  }

  .main-content {
    padding-top: 0 !important;
  }
}

/* Profile Details Box (Reusable) */
.profile-details-box {
  /* background: var(--color-info-bg);
  border: 1px solid var(--color-border-soft);
  padding: 1.5rem;
  border-radius: 12px; */
  margin-bottom: 2rem;
}

.profile-details-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-details-title i {
  color: var(--color-success);
}

.profile-name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}

.profile-sub {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.profile-size {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.order-ref {
  margin-top: 1.5rem;
}

.order-ref-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
  display: block;
}

.order-ref-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
  background: #f1f5f9;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  display: inline-block;
  border: 1px solid var(--color-border-soft);
}
/* --- End of base.css --- */

/* --- Start of typography.css --- */
/* Type */

body,
input,
select,
textarea {
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 14pt;
  font-weight: 400;
  line-height: 1.75;
}

@media screen and (max-width: 1680px) {

  body,
  input,
  select,
  textarea {
    font-size: 12pt;
  }

}

@media screen and (max-width: 1280px) {

  body,
  input,
  select,
  textarea {
    font-size: 12pt;
  }

}

@media screen and (max-width: 980px) {

  body,
  input,
  select,
  textarea {
    font-size: 12pt;
  }

}

@media screen and (max-width: 736px) {

  body,
  input,
  select,
  textarea {
    font-size: 12pt;
  }

}

@media screen and (max-width: 480px) {

  body,
  input,
  select,
  textarea {
    font-size: 12pt;
  }

}

a {
  -moz-transition: color 0.2s ease, border-bottom-color 0.2s ease;
  -webkit-transition: color 0.2s ease, border-bottom-color 0.2s ease;
  -ms-transition: color 0.2s ease, border-bottom-color 0.2s ease;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
  border-bottom: dotted 1px var(--color-text-light);
  color: inherit;
  text-decoration: none;
}

a:before {
  -moz-transition: color 0.2s ease;
  -webkit-transition: color 0.2s ease;
  -ms-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

a:hover {
  border-bottom-color: transparent;
  color: var(--color-primary) !important;
}

a:hover:before {
  color: var(--color-primary) !important;
}

strong,
b {
  color: var(--color-text-bold);
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

p {
  margin: 0 0 .5em 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-bold);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.25em;
  line-height: 1.65;
  margin: 0 0 1em 0;
  text-transform: uppercase;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  border-bottom: 0;
}

h2 {
  font-size: 1.1em;
}

h3 {
  font-size: 0.9em;
}

h4 {
  font-size: 0.7em;
}

h5 {
  font-size: 0.7em;
}

h6 {
  font-size: 0.7em;
}

sub {
  font-size: 0.8em;
  position: relative;
  top: 0.5em;
}

sup {
  font-size: 0.8em;
  position: relative;
  top: -0.5em;
}

blockquote {
  border-left: solid 4px rgba(160, 160, 160, 0.3);
  font-style: italic;
  margin: 0 0 2em 0;
  padding: 0.5em 0 0.5em 2em;
}

code {
  /* background: rgba(160, 160, 160, 0.075);
  border: solid 1px rgba(160, 160, 160, 0.3); */
  font-family: "Courier New", monospace; 
  font-size: 0.85em;
  margin: 0 0.0em;
  /* padding: 0.0em 0.65em; */
  align-content: center;
}

pre {
  -webkit-overflow-scrolling: touch;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  margin: 0 0 2em 0;
}

pre code {
  display: block;
  line-height: 1.75em;
  padding: 1em 1.5em;
  overflow-x: auto;
}

hr {
  border: 0;
  border-bottom: solid 1px rgba(160, 160, 160, 0.3);
  margin: 2em 0;
}

hr.major {
  margin: 3em 0;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}
/* --- End of typography.css --- */

/* --- Start of utilities.css --- */
/* --- Utility classes migrated from custom.css --- */
.mb-2rem {
    margin-bottom: 2rem !important;
}

.mb-1em {
    margin-bottom: 1em !important;
}

.label-lg {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--color-text);
    margin-bottom: 0.5em;
}

.relative {
    position: relative !important;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    z-index: 2;
}

.upload-icon {
    font-size: 3em;
    color: var(--color-text-light);
    margin-bottom: 0.5em;
}

.file-input-hidden {
    /* Keep the file input focusable but visually hidden to avoid browser validation focusing issues */
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.upload-area {
    outline: none;
}

.upload-area:focus {
    box-shadow: 0 0 0 3px rgba(0, 168, 224, 0.12);
}

.file-name-success {
    margin-top: 1em;
    font-weight: bold;
    color: var(--color-success);
}

.tip-text {
    font-size: 0.85em;
    margin-top: 0.5em;
    text-align: center;
}

.tip-icon {
    color: var(--color-warning);
}

.label-premium {
    color: var(--color-text);
    font-weight: 700;
    display: inline-block;
    width: 100%;
}

.premium-desc {
    display: block;
    font-size: 0.85em;
    font-weight: 400;
    margin-top: 0.5em;
    line-height: 1.4;
}

ul.actions {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.actions-cta {
    margin: 2rem 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100%;
    display: flex;
    justify-content: center;
}

.photo-note {
    text-align: center;
    font-size: 0.8em;
    margin-top: 1.5em;
}

.scan-preview-container {
    display: none;
    text-align: center;
    padding: 1rem 0;
}

.scan-processing-title {
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.scan-image {
    max-width: 100%;
    max-height: 400px;
    display: block;
    min-width: 200px;
    min-height: 200px;
    background: var(--color-bg-body);
    image-orientation: from-image;
    /* Ensure browser respects EXIF orientation for preview */
}

.scan-status-container {
    margin-top: 2rem;
    min-height: 60px;
}

.scan-status-text {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.scan-progress-bar {
    width: 200px;
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.scan-progress {
    width: 0%;
    height: 100%;
    background: var(--color-primary);
    transition: width 0.5s ease;
}

/* Helper classes (margin, padding, display) */
.mb-2rem {
    margin-bottom: 2rem !important;
}

.mb-1em {
    margin-bottom: 1em !important;
}

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

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

.flex {
    display: flex !important;
}

.relative {
    position: relative !important;
}
/* --- End of utilities.css --- */
/* 3. CORE LAYOUT */

/* --- Start of layout.css --- */
﻿/* Core Layout & Grid System */

/* Wrapper */
html {
	scroll-behavior: smooth;
}

#wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	max-width: 1400px;
	margin: 0 auto;
	background-color: var(--color-bg-body);
	position: relative;
	width: 100%;
}

/* Global focus buffer for fixed header */
[id] {
	scroll-margin-top: 100px;
}

/* Breadcrumbs */
.breadcrumbs-nav {
	background: #f8fafc;
	border-bottom: 1px solid var(--color-border);
	padding: 0.5rem 0;
	margin-bottom: 0;
	font-size: 0.9rem;
}

.breadcrumbs-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.breadcrumbs-list li {
	display: flex;
	align-items: center;
}

.breadcrumbs-list li:after {
	content: "\f105";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-left: 0.5rem;
	color: var(--color-text-light);
	font-size: 0.8rem;
}

.breadcrumbs-list li:last-child:after {
	content: none;
}

.breadcrumbs-list a {
	color: var(--color-primary-contrast);
	text-decoration: none;
	font-weight: 500;
}

.breadcrumbs-list a:hover {
	text-decoration: underline;
}

.breadcrumbs-list li:last-child {
	color: var(--color-text-light);
	font-weight: 400;
}

/* Base Content Layout */
.main-content,
#main.main-content {
	padding: var(--header-padding-desktop) 0 2rem 0 !important;
	transition: all 0.3s ease !important;
}

/* Containers */
.container-standard {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	padding: 0 1.5rem !important;
}

.container-wide {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	padding: 0 1.5rem !important;
}

.container-narrow {
	max-width: 800px;
	margin: 0 auto;
	width: 100%;
	padding: 0 1.5rem;
}

.clean-layout {
	padding: 1rem 0;
}

/* Grid System (Rows & Columns) */
.row {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	align-items: stretch;
	margin-left: -1rem;
	margin-right: -1rem;
}

.row>* {
	box-sizing: border-box;
	padding-left: 1rem;
	padding-right: 1rem;
}

.col-12 {
	width: 100%;
}

.col-8 {
	width: 66.66%;
}

.col-7 {
	width: 58.33%;
}

.col-6 {
	width: 50%;
}

.col-5 {
	width: 41.66%;
}

.col-4 {
	width: 33.33%;
}

/* Mobile Alignment Utilities */
@media (max-width: 768px) {

	.col-8,
	.col-7,
	.col-6,
	.col-5,
	.col-4 {
		width: 100% !important;
	}

	.main-content,
	#main.main-content {
		padding: var(--header-padding-mobile) 0 1rem 0 !important;
	}

	.container-standard,
	.container-wide,
	.container-narrow,
	.clean-layout {
		padding-left: var(--container-padding-mobile) !important;
		padding-right: var(--container-padding-mobile) !important;
	}

	.row {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
	}

	.row>* {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* Reset nested container padding on mobile to prevent double-indentation */
	.card-box .container-narrow,
	.card-box .container-standard {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* Note: Legacy grid responsive classes (imp-medium, col-x-small, etc.) 
   should be gradually refactored to flex or modern grid. */
/* --- End of layout.css --- */
/* 4. COMPONENTS */

/* --- Start of components/header.css --- */
/* Header Component */

.saas-header,
#header.saas-header {
    background: var(--color-bg-card) !important;
    box-shadow: var(--shadow-card) !important;
    padding: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    transition: padding 0.3s ease !important;
}

.header-inner,
#header .header-inner {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 1.25rem !important;
    flex-wrap: nowrap !important;
    padding: 0.75rem 1rem !important;
    overflow: visible !important;
}

.logo,
#header .logo {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    line-height: 0 !important;
}

.logo a,
#header .logo a {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    border: none !important;
}

.nav-logo,
#header .nav-logo {
    max-height: var(--logo-height-desktop) !important;
    height: auto !important;
    width: auto !important;
    vertical-align: middle !important;
    transition: all 0.3s ease !important;
}

/* Navigation */
.desktop-nav,
#header .desktop-nav {
    margin-left: auto !important;
    display: flex !important;
    gap: 1.25rem !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    visibility: visible !important;
    z-index: 11000 !important;
}

.desktop-nav a,
#header .desktop-nav a {
    color: var(--nav-link-color) !important;
    text-decoration: none !important;
    font-weight: var(--nav-link-weight) !important;
    font-size: var(--nav-font-size) !important;
    border: none !important;
    transition: color 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.5rem 0.75rem !important;
}

.desktop-nav a:hover {
    color: var(--nav-link-hover) !important;
}

.nav-search-icon i {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.nav-search-icon:hover i {
    color: var(--color-primary-dark);
}

/* Actions */
.header-actions,
#header .header-actions {
    flex: 0 0 auto !important;
    margin-left: 1rem !important;
    display: flex !important;
    align-items: center !important;
}

/* Responsive Header */
@media (max-width: 768px) {
    #header.saas-header {
        padding: 0 !important;
    }

    .header-inner,
    #header .header-inner {
        justify-content: space-between !important;
        padding: 0.5rem var(--container-padding-mobile) !important;
        min-height: 56px !important;
    }

    .desktop-nav,
    #header .desktop-nav {
        display: none !important;
    }

    .nav-logo,
    #header .nav-logo {
        max-height: var(--logo-height-mobile) !important;
    }

    .header-actions .button.small {
        height: 36px !important;
        line-height: 36px !important;
        font-size: 0.85rem !important;
        padding: 0 1rem !important;
        margin-top: 0 !important;
    }
}

@media (min-width: 481px) {

    .header-inner,
    #header .header-inner {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }

    #header.saas-header .desktop-nav {
        display: flex !important;
        margin-left: auto !important;
    }
}
/* --- End of components/header.css --- */

/* --- Start of components/footer.css --- */
/* Footer Component */

#footer.footer-clean {
    padding: 3rem 1.5rem;
    background-color: transparent;
    width: 100%;
    text-align: center;
}

#footer.footer-clean>div {
    max-width: 1400px;
    margin: 0 auto;
}

#footer.footer-clean .footer-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

#footer.footer-clean .footer-links a {
    margin: 0;
    color: var(--color-text-light);
    font-weight: 500;
    border-bottom: none;
    text-decoration: none;
}

#footer.footer-clean .footer-links a:hover {
    color: var(--color-primary);
}

#footer.footer-clean p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    #footer.footer-clean>div {
        padding-left: var(--container-padding-mobile) !important;
        padding-right: var(--container-padding-mobile) !important;
    }
}
/* --- End of components/footer.css --- */

/* --- Start of components/mobile-nav.css --- */
/* Mobile Bottom Navigation */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    z-index: 12000;
    justify-content: space-around;
    padding: 0.75rem 0 0.5rem 0;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
    /* Support iOS safe area */
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-light);
    font-size: 0.75rem;
    text-decoration: none;
    padding: 0 0.5rem;
}

.mobile-bottom-nav a.active {
    color: var(--color-primary-contrast);
    font-weight: 600;
}

.mobile-bottom-nav a i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
    }

    /* Hide nav when keyboard is open (controlled by JavaScript) */
    body.keyboard-open .mobile-bottom-nav {
        display: none !important;
    }

    /* Prevent content overlap */
    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

/* iOS-specific: Hide nav when viewport height shrinks (keyboard open) */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) and (max-height: 600px) {
        .mobile-bottom-nav {
            display: none !important;
        }
    }
}
/* --- End of components/mobile-nav.css --- */

/* --- Start of components/button.css --- */
/* Button Component */

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    -webkit-transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    -ms-transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    background-color: transparent;
    border: 0;
    border-radius: var(--radius-btn);
    box-shadow: inset 0 0 0 1px rgba(160, 160, 160, 0.3);
    color: #3c3b3b !important;
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.6em;
    font-weight: 800;
    height: 4.8125em;
    letter-spacing: 0.25em;
    line-height: 4.8125em;
    padding: 0 2.5em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
    box-shadow: inset 0 0 0 1px var(--color-primary-hover);
    color: var(--color-primary-hover) !important;
}

@media (max-width: 600px) {
    .button {
        padding: 0 1.25em !important;
        font-size: 0.55em;
        letter-spacing: 0.15em;
    }
}

.button.primary {
    background: linear-gradient(180deg, var(--btn-primary-bg-start) 0%, var(--btn-primary-bg-end) 100%);
    color: var(--btn-primary-text) !important;
    border: 1px solid var(--btn-primary-border);
}

.button.primary:hover {
    background: linear-gradient(180deg, var(--btn-primary-bg-end) 0%, var(--btn-primary-bg-start) 100%);
    border-color: var(--color-primary-hover);
    color: var(--btn-primary-text) !important;
}

.button.small {
    height: 2.25rem;
    line-height: 2.25rem;
    padding: 0 1rem;
    font-size: 0.85rem;
    min-width: 80px;
}

.button.large {
    font-size: 0.7em;
    padding: 0 3em;
}

.button.fit {
    width: 100%;
}

.button.disabled,
.button:disabled {
    pointer-events: none;
    color: rgba(160, 160, 160, 0.3) !important;
}

/* Large CTA Button Variant (used on Home and Verify pages) */
.large-cta {
    font-size: 0.65rem !important;
    letter-spacing: 0.15em !important;
    height: 4rem !important;
    line-height: 4rem !important;
    padding: 0 3.5rem !important;
    font-weight: 800 !important;
}

@media (min-width: 992px) {
    .large-cta {
        font-size: 0.95rem !important;
        height: 4.25rem !important;
        line-height: 4.25rem !important;
        padding: 0 4rem !important;
    }
}

/* Extra Mobile Responsiveness for narrow screens */
@media (max-width: 600px) {
    .large-cta {
        padding: 0 1.25rem !important;
        font-size: 0.8rem !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        height: auto !important;
        min-height: 3.5rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}
/* --- End of components/button.css --- */

/* --- Start of components/card.css --- */
/* Card & Box Components */

.hero-section {
    background: var(--hero-bg-gradient) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: var(--shadow-card) !important;
    padding: 1.5rem 1rem 1rem 1rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
}

.card-box {
    background: var(--color-bg-card) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: var(--shadow-card) !important;
    padding: var(--card-padding) !important;
    margin-bottom: 2rem !important;
}

.box {
    border: solid 1px var(--color-border);
    margin-bottom: 2em;
    padding: 1.5em;
    border-radius: var(--radius-card);
}

.post {
    margin-bottom: 2rem;
    width: 100%;
}

@media (max-width: 980px) {
    .hero-section {
        padding: 1.5rem var(--card-padding-mobile) !important;
    }

    .card-box {
        padding: var(--card-padding-mobile) !important;
    }
}
/* --- End of components/card.css --- */

/* --- Start of components/form.css --- */
/* Form Components */

.form-control {
    border-radius: 10px;
    border: 1px solid var(--color-border);
    padding: 0 1rem;
    height: 3rem;
    background-color: var(--color-bg-card);
    width: 100%;
}

select.form-control,
select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.25rem center !important;
    background-size: 1.1rem !important;
    padding-right: 3rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

select.form-control:focus,
select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f56a6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

label {
    color: var(--color-text-bold);
    display: block;
    font-size: 0.9em;
    font-weight: 700;
    margin: 0 0 1em 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
    background: rgba(160, 160, 160, 0.075);
    border: solid 1px rgba(160, 160, 160, 0.3);
    border-radius: 0;
    color: inherit;
    display: block;
    outline: 0;
    padding: 0 1em;
    width: 100%;
    height: 2.75em;
}

textarea {
    height: auto;
    padding: 0.75em 1em;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: inset 0 0 0 1px var(--color-primary);
}

/* Custom Checkbox/Radio if needed can go here */
/* --- End of components/form.css --- */

/* --- Start of components/alert.css --- */
/* Alerts, Badges & Tooltips */

.alert-box {
    padding: 1.5em;
    border-radius: var(--radius-btn);
    margin-bottom: 1.5em;
    border-left: 4px solid;
    background: var(--color-bg-card);
    box-shadow: var(--shadow-card);
}

.alert-success {
    background-color: #ecfdf5;
    border-color: var(--color-success);
    color: #065f46;
}

.alert-error {
    background-color: #fef2f2;
    border-color: var(--color-danger);
    color: #991b1b;
}

.alert-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.alert-info {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

.badge {
    min-width: 100px;
    text-align: center;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
}

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

.badge.info {
    background: var(--color-primary);
    color: white;
}

/* Tooltips */
.photo-tooltip-container {
    position: relative;
    display: inline-block;
}

.photo-tooltip-container .tooltip-content {
    visibility: hidden;
    width: 240px;
    background-color: var(--color-bg-card);
    color: var(--color-text);
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    top: 50%;
    left: 100%;
    margin-left: 15px;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--color-border);
}

.photo-tooltip-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

/* Site toast notifications (accessible) */
.site-toast {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 20000;
    min-width: 260px;
    max-width: 440px;
    border-radius: var(--radius-card, 8px);
    padding: 12px 16px;
    color: var(--color-text-inverse, #fff);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-main);
    box-shadow: var(--shadow-card);
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

@keyframes toast-slide {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.site-toast-show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
    animation: toast-slide 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-toast-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 8px;
    flex: 0 0 36px;
    background: rgba(255, 255, 255, 0.05);
}

.site-toast-msg {
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.2;
}

.site-toast-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}

.site-toast:focus,
.site-toast-close:focus {
    outline: 3px solid rgba(59, 130, 246, 0.25);
    outline-offset: 2px;
}

/* Variants */
.site-toast-info {
    background: var(--color-bg-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.site-toast-info .site-toast-icon {
    background: rgba(0, 168, 224, 0.08);
    color: var(--color-primary);
}

.site-toast-warn {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fef3c7;
}

.site-toast-warn .site-toast-icon {
    background: rgba(255, 170, 0, 0.08);
    color: var(--color-warning);
}

.site-toast-error {
    background: #fff1f2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

.site-toast-error .site-toast-icon {
    background: rgba(239, 68, 68, 0.06);
    color: var(--color-danger);
}

.site-toast-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid rgba(0, 138, 0, 0.08);
}

.site-toast-success .site-toast-icon {
    background: rgba(0, 138, 0, 0.06);
    color: var(--color-success);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    .site-toast,
    .site-toast-show,
    .site-toast-icon {
        transition: none;
        animation: none;
    }
}
/* --- End of components/alert.css --- */

/* --- Start of components/cookie.css --- */
/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-card);
    z-index: 100000;
    display: none;
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.5;
}

.cookie-privacy-link {
    color: var(--color-primary-contrast);
    text-decoration: none;
    font-weight: 700;
    position: relative;
}

.cookie-privacy-link:hover {
    text-decoration: underline;
}

@keyframes slideUpFade {
    0% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: var(--mobile-nav-height);
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: var(--radius-card) var(--radius-card) 0 0;
        border-bottom: none;
        padding: 1.5rem;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    }

    .cookie-banner-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .cookie-banner-text {
        font-size: 0.9rem;
    }

    /* Make the button full width on mobile for easier tap */
    .cookie-banner-flex .button {
        width: 100%;
        text-align: center;
    }

    /* Animation adjustment for mobile (no translateX centering) */
    @keyframes slideUpFade {
        0% {
            transform: translateY(100%);
            opacity: 0;
        }

        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }
}
/* --- End of components/cookie.css --- */
/* 5. SHARED PAGE PATTERNS */

/* --- Start of static-pages.css --- */
/* static-pages.css - Shared patterns for informational and static pages */

.clean-layout {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Pattern */
.hero-section {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--hero-bg-gradient);
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    min-height: 200px;
    /* Reserve space to prevent layout shift */
}

.hero-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-bold);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--color-text-light);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Checklist Pattern */
.checklist-items {
    list-style: none;
    padding: 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.checklist-item i {
    color: var(--color-success);
    margin-top: 0.25rem;
    font-size: 1.15rem;
}

/* Step Pattern (Numbered) */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-step {
    display: block;
    position: relative;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

.guide-step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.guide-step::before {
    content: attr(data-step);
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    position: static;
    margin-bottom: 0;
    margin-right: 0.75rem;
}

.guide-step-title {
    color: var(--color-text-bold);
    margin-bottom: 0.5rem;
}

.guide-step p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-section {
        padding: 1.5rem 1rem;
    }
}
/* --- End of static-pages.css --- */
