@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* Finca Don Eugenio II — Elegant countryside palette - FULL RESPONSIVE CSS */

:root {
  --radius: 0.75rem;
  --background: #fbf9f7;
  --foreground: #2d2d2d;
  --card: #ffffff;
  --card-foreground: #2d2d2d;
  --primary: #2d2d2d;
  --primary-foreground: #f9f8f6;
  --secondary: #f0eeec;
  --secondary-foreground: #3f3f3f;
  --muted: #f0eeec;
  --muted-foreground: #858585;
  --accent: #d4a33a;
  --accent-foreground: #2d2d2d;
  --destructive: #8b3a3a;
  --destructive-foreground: #faf8f6;
  --border: #ddd9d3;
  --input: #ddd9d3;
  --ring: #d4a33a;
  --gold: #d4a33a;
  --gold-foreground: #2d2d2d;
  --sidebar: #f9f8f6;
  --sidebar-foreground: #2d2d2d;
  --sidebar-primary: #2d2d2d;
  --sidebar-primary-foreground: #f9f8f6;
  --sidebar-accent: #f0eeec;
  --sidebar-accent-foreground: #2d2d2d;
  --sidebar-border: #ddd9d3;
  --sidebar-ring: #d4a33a;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* Reset */
* {
  box-sizing: border-box;
  border-color: var(--border);
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading), Georgia, serif;
  font-weight: 600;
  margin: 0;
}

/* LOGIN PAGE - Responsive Grid */
.min-h-screen.grid {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
}

@media (max-width: 1024px) {
  .min-h-screen.grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

/* Hero Image Side (Hidden on mobile) */
.relative.hidden.lg\:block {
  position: relative;
  overflow: hidden;
  display: none;
}

@media (min-width: 1025px) {
  .relative.hidden.lg\:block {
    display: block;
  }
}

.absolute.inset-0 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.h-full.w-full.object-cover {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, rgba(45, 45, 45, 0.4), rgba(45, 45, 45, 0.6), rgba(45, 45, 45, 0.9));
}

.relative.z-10 {
  position: relative;
  z-index: 10;
}

.flex.h-full.flex-col.justify-between {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.p-12 {
  padding: 3rem;
}

@media (max-width: 768px) {
  .p-12 {
    padding: 2rem;
  }
}

.text-white {
  color: white;
}

.text-xs.uppercase.tracking-widest {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.text-yellow-500 {
  color: var(--gold);
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.font-serif.text-5xl.leading-tight {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .font-serif.text-5xl.leading-tight {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .font-serif.text-5xl.leading-tight {
    font-size: 1.5rem;
  }
}

.text-gray-200 {
  color: rgba(255, 255, 255, 0.8);
}

.max-w-md {
  max-width: 28rem;
}

/* Form Side */
.flex.items-center.justify-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.p-6.sm\:p-10 {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .p-6.sm\:p-10 {
    padding: 2.5rem;
  }
}

.bg-gray-50 {
  background: var(--secondary);
}

.w-full {
  width: 100%;
}

.max-w-md.form-container {
  width: 100%;
  max-width: 28rem;
}

/* Mobile header */
.flex.items-center.gap-3.lg\:hidden {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 1025px) {
  .flex.items-center.gap-3.lg\:hidden {
    display: none;
  }
}

.h-12.w-12 {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
}

/* Form Title */
.font-serif.text-3xl.font-semibold {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .font-serif.text-3xl.font-semibold {
    font-size: 1.5rem;
  }
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.text-gray-600 {
  color: #6b7280;
}

.mb-8 {
  margin-bottom: 2rem;
}

.text-sm {
  font-size: 0.875rem;
}

/* Form Elements */
.space-y-4 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 163, 58, 0.1);
}

button[type="submit"] {
  width: 100%;
  padding: 0.625rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

button[type="submit"]:hover:not(:disabled) {
  background: #3f3f3f;
}

button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  button[type="submit"],
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"] {
    min-height: 44px;
    font-size: 16px;
  }
}

/* Alerts */
.alert {
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  word-break: break-word;
  border: 1px solid;
}

.bg-red-100 {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.text-red-700 {
  color: #991b1b;
}

.bg-green-100 {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.text-green-700 {
  color: #166534;
}

/* AUTHENTICATED PAGES */

/* Sidebar Navigation */
.sidebar {
  width: 220px;
  min-width: 220px;
  background: #1a1a1a;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}


.sidebar-header,
.sidebar .sb-header,
.sidebar .sb-header,
.sidebar .sidebar-header {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid #2a2a2a;
  text-align: center;
}

.sidebar-header h2,
.sidebar .sb-header h2,
.sidebar .sidebar-header h2 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f0ede8;
}

.sidebar-header p,
.sidebar .sb-header p,
.sidebar .sidebar-header p {
  font-size: 0.58rem;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin: 0.4rem 0 0;
}

.sidebar-user,
.sidebar .sb-user,
.sidebar .sidebar-user {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid #2a2a2a;
}

.sidebar-user .lote,
.sidebar .sb-user .lote,
.sidebar .sidebar-user .lote {
  font-size: 0.6rem;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sidebar-user .nombre,
.sidebar .sb-user .nombre,
.sidebar .sidebar-user .nombre {
  font-size: 0.8rem;
  color: #b0aba3;
  margin-top: 0.2rem;
  font-weight: 500;
}

.sidebar-nav,
.sb-nav,
.sidebar .sidebar-nav,
.sidebar .sb-nav {
  flex: 1;
  padding: 0.875rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.sidebar-footer,
.sb-footer,
.sidebar .sidebar-footer,
.sidebar .sb-footer {
  padding: 0.75rem;
  border-top: 1px solid #2a2a2a;
}

html body .sidebar .sb-logo,
html body .sidebar .sidebar-header img,
html body .sidebar .sb-header img,
html body .sidebar-header img,
html body .sb-header img,
html body .sb-logo {
  width: 3.75rem !important;
  height: 3.75rem !important;
  object-fit: cover !important;
  filter: invert(1) !important;
  margin: 0 auto 0.875rem !important;
  display: block !important;
  border: 1.5px solid #3a3a3a !important;
  border-radius: 50% !important;
  padding: 5px !important;
  background: #fff !important;
}

@media (max-width: 768px) {
  html body .sidebar .sb-logo,
  html body .sidebar .sidebar-header img,
  html body .sidebar .sb-header img,
  html body .sidebar-header img,
  html body .sb-header img,
  html body .sb-logo {
    object-fit: cover !important;
    margin: 0 !important;
  }
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}


.sidebar nav a,
.sidebar .sb-nav a,
.sidebar .sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  color: #787878;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}

.sidebar nav a:hover,
.sidebar .sb-nav a:hover,
.sidebar .sidebar-nav a:hover {
  background: #252525;
  color: #e0ddd8;
  text-decoration: none;
}

.sidebar nav a.active,
.sidebar .sb-nav a.active,
.sidebar .sidebar-nav a.active {
  background: #ca8a04;
  color: #fff;
  font-weight: 600;
}

.sidebar nav a svg,
.sidebar .sb-nav a svg,
.sidebar .sidebar-nav a svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .sidebar nav a,
  .sidebar .sb-nav a,
  .sidebar .sidebar-nav a {
    flex: 1;
    text-align: center;
    padding: 0.45rem 0.65rem;
    font-size: 0.72rem;
  }
}

.sidebar.dark {
  width: 220px;
  min-width: 220px;
  background: #1a1a1a;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar.dark .sb-header {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid #2a2a2a;
  text-align: center;
}

.sidebar.dark .sb-logo {
  width: 3.75rem;
  height: 3.75rem;
  filter: invert(1);
  margin: 0 auto .875rem;
  display: block;
  border: 1.5px solid #3a3a3a;
  border-radius: 50%;
  padding: 5px;
}

.sidebar.dark .sb-header h2 {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f0ede8;
}

.sidebar.dark .sb-header p {
  font-size: .58rem;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin: .4rem 0 0;
}

.sidebar.dark .sb-user {
  margin-top: .875rem;
  padding-top: .875rem;
  border-top: 1px solid #2a2a2a;
}

.sidebar.dark .sb-user .lote {
  font-size: .6rem;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.sidebar.dark .sb-user .nombre {
  font-size: .8rem;
  color: #b0aba3;
  margin-top: .2rem;
  font-weight: 500;
}

.sidebar.dark .sb-nav {
  flex: 1;
  padding: .875rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .125rem;
}

.sidebar.dark .sb-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem .875rem;
  border-radius: .5rem;
  font-size: .8rem;
  color: #787878;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}

.sidebar.dark .sb-nav a:hover {
  background: #252525;
  color: #e0ddd8;
  text-decoration: none;
}

.sidebar.dark .sb-nav a.active {
  background: #ca8a04;
  color: #fff;
  font-weight: 600;
}

.sidebar.dark .sb-nav a svg {
  width: .9rem;
  height: .9rem;
  flex-shrink: 0;
}

.sidebar.dark .sb-footer {
  padding: .75rem;
  border-top: 1px solid #2a2a2a;
}

.sidebar.dark .sb-footer a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem .875rem;
  border-radius: .5rem;
  font-size: .8rem;
  color: #787878;
  text-decoration: none;
  transition: all .15s;
}

.sidebar.dark .sb-footer a:hover {
  background: #252525;
  color: #e0ddd8;
  text-decoration: none;
}

.sidebar.dark .sb-footer a svg {
  width: .9rem;
  height: .9rem;
}

/* Unified authenticated layout and sidebar menu */
.page-wrap {
  display: flex !important;
  min-height: 100vh !important;
  flex-direction: row !important;
}

.sidebar,
.sidebar.dark {
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  background: #1a1a1a !important;
  color: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.sidebar .sb-header,
.sidebar .sidebar-header,
.sb-header,
.sidebar-header {
  padding: 2rem 1.5rem 1.5rem !important;
  border-bottom: 1px solid #2a2a2a !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.sidebar .sb-logo,
.sidebar .sidebar-header img,
.sidebar .sb-header img,
.sb-logo,
.sidebar-header img,
.sb-header img {
  width: 3.5rem !important;
  height: 3.5rem !important;
  object-fit: cover !important;
  filter: invert(1) !important;
  margin: 0 auto 0.75rem !important;
  display: block !important;
  border: 1.5px solid #3a3a3a !important;
  border-radius: 50% !important;
  padding: 4px !important;
  background: #fff !important;
}

.sidebar .sb-header h2,
.sidebar .sidebar-header h2,
.sb-header h2,
.sidebar-header h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #f0ede8 !important;
  margin: 0 !important;
}

.sidebar .sb-header p,
.sidebar .sidebar-header p,
.sb-header p,
.sidebar-header p {
  font-size: 0.58rem !important;
  color: #6b6b6b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.13em !important;
  margin: 0.35rem 0 0 !important;
}

.sidebar .sb-user,
.sidebar .sidebar-user,
.sb-user,
.sidebar-user {
  margin-top: 0.875rem !important;
  padding-top: 0.875rem !important;
  border-top: 1px solid #2a2a2a !important;
}

.sidebar .sb-user .lote,
.sidebar .sidebar-user .lote,
.sb-user .lote,
.sidebar-user .lote {
  font-size: 0.6rem !important;
  color: #6b6b6b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

.sidebar .sb-user .nombre,
.sidebar .sidebar-user .nombre,
.sb-user .nombre,
.sidebar-user .nombre {
  font-size: 0.8rem !important;
  color: #b0aba3 !important;
  margin-top: 0.2rem !important;
  font-weight: 500 !important;
}

.sidebar .sb-nav,
.sidebar .sidebar-nav,
.sb-nav,
.sidebar-nav {
  flex: 1 !important;
  padding: 0.875rem 0.75rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.125rem !important;
}

.sidebar .sb-footer,
.sidebar .sidebar-footer,
.sb-footer,
.sidebar-footer {
  padding: 0.75rem !important;
  border-top: 1px solid #2a2a2a !important;
}

.sidebar .sb-nav a,
.sidebar .sidebar-nav a,
.sidebar .sb-footer a,
.sidebar .sidebar-footer a,
.sidebar nav a {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0.6rem 0.875rem !important;
  border-radius: 0.5rem !important;
  font-size: 0.8rem !important;
  color: #787878 !important;
  text-decoration: none !important;
  transition: all 0.15s !important;
  white-space: normal !important;
  word-break: break-word !important;
  min-width: 0 !important;
  width: 100% !important;
}

.sidebar .sb-nav a:hover,
.sidebar .sidebar-nav a:hover,
.sidebar .sb-footer a:hover,
.sidebar .sidebar-footer a:hover,
.sidebar nav a:hover {
  background: #252525 !important;
  color: #e0ddd8 !important;
  text-decoration: none !important;
}

.sidebar .sb-nav a.active,
.sidebar .sidebar-nav a.active,
.sidebar nav a.active {
  background: #ca8a04 !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.sidebar .sb-nav a svg,
.sidebar .sidebar-nav a svg,
.sidebar .sb-footer a svg,
.sidebar .sidebar-footer a svg,
.sidebar nav a svg {
  width: 0.9rem !important;
  height: 0.9rem !important;
  flex-shrink: 0 !important;
}

.hamburger {
  display: none !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  margin-left: auto !important;
  padding: 0.35rem !important;
  flex-shrink: 0 !important;
}

.hamburger span {
  display: block !important;
  width: 18px !important;
  height: 2px !important;
  background: #9ca3af !important;
  border-radius: 2px !important;
  transition: all 0.25s !important;
}

.sidebar.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}

.sidebar.nav-open .hamburger span:nth-child(2) {
  opacity: 0 !important;
}

.sidebar.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

.main {
  flex: 1 !important;
  min-width: 0 !important;
}

.page-header {
  padding: 3rem 3rem 0 !important;
}

.ph-tag {
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  color: #ca8a04 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  display: block !important;
  margin-bottom: 0.6rem !important;
}

.ph-title {
  font-family: var(--font-heading) !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  line-height: 1.15 !important;
  margin-bottom: 0.4rem !important;
}

.ph-sub {
  font-size: 0.875rem !important;
  color: #9a9188 !important;
  margin-bottom: 2rem !important;
}

.ph-divider {
  border: none !important;
  border-top: 1px solid #ede9e3 !important;
}

.content-area {
  padding: 2.5rem 3rem 3rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1024px) {
  .sidebar,
  .sidebar.dark {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }

  .page-header {
    padding: 2.5rem 2rem 0 !important;
  }

  .content-area {
    padding: 2rem !important;
  }
}

@media (max-width: 768px) {
  .page-wrap {
    flex-direction: column !important;
  }

  .sidebar,
  .sidebar.dark {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    position: relative !important;
  }

  .sidebar .sb-header,
  .sidebar .sidebar-header,
  .sb-header,
  .sidebar-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    text-align: left !important;
    padding: 1rem 1.25rem !important;
  }

  .sidebar .sb-logo,
  .sidebar .sidebar-header img,
  .sb-logo,
  .sidebar-header img,
  .sb-header img,
  .sidebar .sb-header img {
    width: 2.5rem !important;
    height: 2.5rem !important;
    object-fit: cover !important;
    margin: 0 !important;
  }

  .sidebar .sb-user,
  .sidebar .sidebar-user,
  .sb-user,
  .sidebar-user {
    display: none !important;
  }

  .sidebar .sb-nav,
  .sidebar .sidebar-nav,
  .sb-nav,
  .sidebar-nav,
  .sidebar .sb-footer,
  .sidebar .sidebar-footer,
  .sb-footer,
  .sidebar-footer {
    display: none !important;
    flex-direction: column !important;
    padding: 0.5rem 0.75rem !important;
    gap: 0.125rem !important;
  }

  .sidebar.nav-open .sb-nav,
  .sidebar.nav-open .sidebar-nav,
  .sidebar.nav-open .sb-footer,
  .sidebar.nav-open .sidebar-footer {
    display: flex !important;
  }

  .sidebar .sb-nav a,
  .sidebar .sidebar-nav a,
  .sidebar .sb-footer a,
  .sidebar .sidebar-footer a,
  .sidebar nav a {
    padding: 0.45rem 0.65rem !important;
    font-size: 0.72rem !important;
    text-align: left !important;
  }

  .hamburger {
    display: flex !important;
  }

  .page-header {
    padding: 1.75rem 1.25rem 0 !important;
  }

  .ph-title {
    font-size: 1.875rem !important;
  }

  .content-area {
    padding: 1.25rem !important;
  }
}

@media (max-width: 500px) {
  .ph-title {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .site {
    flex-direction: column;
    gap: 1rem;
  }
}

.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .container {
    margin: 1rem auto;
    padding: 0 0.5rem;
  }
}

/* Hero */
.hero {
  background: #2d2d2d;
  color: #fff;
  padding: 3rem;
  border-radius: 1.125rem;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1.5rem;
  }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin: 0 0 1rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.5rem;
  }
}

.hero p {
  font-size: 1rem;
  margin: 0.5rem 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .hero p {
    font-size: 0.875rem;
  }
}

/* Cards Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.125rem;
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  padding: 1.125rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.2s;
  border: 1px solid var(--border);
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card h2,
.card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--foreground);
}

.card p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0.5rem 0;
  line-height: 1.5;
}

/* Responsive Table */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 0.375rem;
  overflow: hidden;
  min-width: 500px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

thead {
  background: var(--secondary);
  border-bottom: 2px solid var(--border);
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #6b7280;
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 640px) {
  th, td {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
}

/* Utilities */
h1 { font-size: 2rem; }
@media (max-width: 640px) { h1 { font-size: 1.5rem; } }

h2 { font-size: 1.5rem; }
@media (max-width: 640px) { h2 { font-size: 1.25rem; } }

ul, ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

li {
  margin: 0.5rem 0;
  line-height: 1.5;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.2s;
}

a:hover {
  text-decoration: underline;
  color: #c99a30;
}

button, .btn {
  padding: 0.75rem 1.5rem;
  background: var(--sidebar);
  color: var(--sidebar-foreground);
  border: none;
  border-radius: 0.375rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  font-weight: 500;
}

button:hover, .btn:hover {
  background: #e0ddd7;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.25rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }

/* Images */
.access-icon img,
.access-card img,
.quick-access img {
  max-width: 100%;
  height: auto;
  display: block;
}

.invert {
  filter: invert(1);
}

/* ===== TAILWIND-LIKE UTILITY CLASSES FOR HTML COMPATIBILITY ===== */

/* Display */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.overflow-hidden { overflow: hidden; }
.sticky { position: sticky; }

@media (min-width: 1025px) {
  .lg\:block { display: block; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .lg\:hidden { display: none; }
}

/* Flexbox */
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-3 { gap: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.top-0 { top: 0; }
.h-screen { height: 100vh; }

/* Size */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }

/* Object Fit */
.object-cover { object-fit: cover; }

/* Background Colors */
.bg-white { background: white; }
.bg-gray-50 { background: #f9fafb; }
.bg-gray-100 { background: #f3f4f6; }
.bg-gray-900 { background: #111827; }
.bg-red-100 { background: #fee2e2; }
.bg-red-50 { background: #fef2f2; }
.bg-green-100 { background: #f0fdf4; }

/* Text Colors */
.text-white { color: white; }
.text-gray-50 { color: #f9fafb; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-red-700 { color: #b91c1c; }
.text-green-700 { color: #15803d; }
.text-yellow-500 { color: #d4a33a; }
.text-yellow-600 { color: #c99a30; }

/* Padding */
.p-3 { padding: 0.75rem; }
.p-6 { padding: 1.5rem; }
.p-12 { padding: 3rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }

/* Margin */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-3xl { font-size: 1.875rem; }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-serif { font-family: var(--font-heading), Georgia, serif; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }

/* Borders */
.border { border: 1px solid; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-700 { border-color: #374151; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }

/* Focus States */
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--gold); }
.focus\:ring-yellow-500:focus { box-shadow: 0 0 0 3px rgba(212, 163, 58, 0.1); }

/* Hover States */
.hover\:bg-gray-800:hover { background: #1f2937; }
.hover\:underline:hover { text-decoration: underline; }
.transition-colors { transition: background-color 0.2s; }

/* Height Utilities */
.h-64 { height: 16rem !important; }
.min-h-screen { min-height: 100vh !important; }
.flex-1 { flex: 1 !important; }

/* Background Utilities */
.bg-cover { background-size: cover !important; }
.bg-center { background-position: center !important; }
.bg-gray-50 { background-color: #f9fafb !important; }
.bg-gray-800 { background-color: #1f2937 !important; }
.bg-yellow-600 { background-color: #ca8a04 !important; }
.bg-yellow-700 { background-color: #b45309 !important; }
.bg-red-600 { background-color: #dc2626 !important; }
.bg-red-700 { background-color: #b91c1c !important; }
.bg-pink-600 { background-color: #ec4899 !important; }
.bg-pink-700 { background-color: #be185d !important; }
.bg-blue-100 { background-color: #dbeafe !important; }
.bg-purple-100 { background-color: #e9d5ff !important; }
.bg-green-100 { background-color: #dcfce7 !important; }
.bg-indigo-100 { background-color: #e0e7ff !important; }
.bg-orange-100 { background-color: #ffedd5 !important; }

/* Rounded Utilities */
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-b-2xl { border-radius: 0 0 1rem 1rem !important; }
.rounded-full { border-radius: 9999px !important; }

/* Shadow Utilities */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }

/* Gap Utilities */
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }

/* Grid Column Utilities */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* Gradient Utilities */
.bg-gradient-to-r { background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent) !important; }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, rgba(45, 45, 45, 0.4), rgba(45, 45, 45, 0.6), rgba(45, 45, 45, 0.9)) !important; }

/* Text Color Utilities */
.text-blue-600 { color: #2563eb !important; }
.text-purple-600 { color: #9333ea !important; }
.text-green-600 { color: #16a34a !important; }
.text-indigo-600 { color: #4f46e5 !important; }
.text-orange-600 { color: #ea580c !important; }
.text-pink-600 { color: #ec4899 !important; }
.text-red-800 { color: #991b1b !important; }
.text-yellow-800 { color: #854d0e !important; }
.text-green-800 { color: #166534 !important; }

/* Button Hover States */
.hover\:bg-yellow-700:hover { background-color: #b45309 !important; }
.hover\:bg-red-700:hover { background-color: #b91c1c !important; }
.hover\:bg-pink-700:hover { background-color: #be185d !important; }
.hover\:text-white:hover { color: white !important; }

/* Focus Ring Utilities */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05), 0 0 0 4px #fef08a !important; }
.focus\:ring-yellow-500:focus { box-shadow: 0 0 0 3px rgba(212, 163, 58, 0.1) !important; }
.focus\:ring-pink-500:focus { box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1) !important; }
.focus\:ring-red-500:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important; }
.focus\:border-transparent:focus { border-color: transparent !important; }

/* Badge/Pill Utilities */
.inline-block { display: inline-block !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }

/* Text Size and Weight */
.text-xl { font-size: 1.25rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-4xl { font-size: 2.25rem !important; }

/* Opacity and Colors */
.from-blue-100 { background-color: #dbeafe !important; }
.text-truncate { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }

/* Max Width Utilities */
.max-w-4xl { max-width: 56rem !important; }
.max-w-6xl { max-width: 72rem !important; }

/* Gadget Cards - Uniform Height */
.gadget-card {
  background: var(--card) !important;
  padding: 1.5rem !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid var(--border) !important;
  min-height: 160px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.2s !important;
}

.gadget-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px) !important;
}

.gadget-card h2,
.gadget-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--foreground);
}

.gadget-card p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Mobile */
@media (max-width: 640px) {
  .sm\:p-10 { padding: 1.5rem !important; }
  
  input[type="text"],
  input[type="email"],
  input[type="password"],
  button[type="submit"] {
    min-height: 44px;
    font-size: 16px;
  }

  .md\:grid-cols-2,
  .lg\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
}

