/* ============================================
   Home Module - Core Styles
   Extracted from app.blade.php
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--theme-body-font);
    font-size: var(--theme-body-size);
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Layout stacking - header above page content for dropdowns */
header { position: relative; z-index: 50; }

/* Typography - Headings: --theme-heading-size already has rem unit (e.g. 2.1rem) */
h1, h2, h3, h4, h5, h6 { font-family: var(--theme-heading-font); font-weight: 600; line-height: 1.3; }
/* Global heading sizes apply only to non-admin-controlled headings.
   .heading-element tags get their font-size from admin data (inline style) or browser
   defaults — we must not override them here so the inline style always wins. */
h1:not(.heading-element) { font-size: var(--theme-heading-size); }
h2:not(.heading-element) { font-size: calc(var(--theme-heading-size) * 0.85); }
h3:not(.heading-element) { font-size: calc(var(--theme-heading-size) * 0.7); }
h4:not(.heading-element) { font-size: calc(var(--theme-heading-size) * 0.6); }
h5:not(.heading-element) { font-size: calc(var(--theme-heading-size) * 0.5); }
h6:not(.heading-element) { font-size: calc(var(--theme-heading-size) * 0.45); }

/* 12-Column Grid */
.hp-row { display: flex; flex-wrap: wrap; width: 100%; position: relative; }
/* Row containing a menu element gets elevated z-index so its dropdown overlays later rows */
.hp-row-has-menu { z-index: 10; }
.hp-row-animated { overflow: hidden; }
.hp-row-inner { width: 100%; display: flex; flex-wrap: wrap; position: relative; z-index: 1; }
/* 12px padding left/right = 24px gap between cols, matching Vuetify's default gutter.
   Vertical padding is zero — row/col spacing is controlled only via admin-configured margin/padding. */
.hp-col { position: relative; min-height: 1px; display: flex; flex-direction: column; padding: 0 12px; }
.hp-col-animated { overflow: hidden; }
.hp-col-1 { width: 8.3333%; }
.hp-col-2 { width: 16.6667%; }
.hp-col-3 { width: 25%; }
.hp-col-4 { width: 33.3333%; }
.hp-col-5 { width: 41.6667%; }
.hp-col-6 { width: 50%; }
.hp-col-7 { width: 58.3333%; }
.hp-col-8 { width: 66.6667%; }
.hp-col-9 { width: 75%; }
.hp-col-10 { width: 83.3333%; }
.hp-col-11 { width: 91.6667%; }
.hp-col-12 { width: 100%; }

/* Mobile: full width by default */
@media (max-width: 960px) {
    .hp-col { width: 100% !important; }
    .hp-col-mobile-hidden { display: none !important; }
    .hp-col-sm-1 { width: 8.3333% !important; }
    .hp-col-sm-2 { width: 16.6667% !important; }
    .hp-col-sm-3 { width: 25% !important; }
    .hp-col-sm-4 { width: 33.3333% !important; }
    .hp-col-sm-5 { width: 41.6667% !important; }
    .hp-col-sm-6 { width: 50% !important; }
    .hp-col-sm-7 { width: 58.3333% !important; }
    .hp-col-sm-8 { width: 66.6667% !important; }
    .hp-col-sm-9 { width: 75% !important; }
    .hp-col-sm-10 { width: 83.3333% !important; }
    .hp-col-sm-11 { width: 91.6667% !important; }
    .hp-col-sm-12 { width: 100% !important; }
}

/* Flexbox utility classes */
.hp-flex { display: flex; }
.hp-flex-col { flex-direction: column; }
.hp-align-start { align-items: flex-start; }
.hp-align-center { align-items: center; }
.hp-align-end { align-items: flex-end; }
.hp-justify-start { justify-content: flex-start; }
.hp-justify-center { justify-content: center; }
.hp-justify-end { justify-content: flex-end; }
.hp-text-left { text-align: left; }
.hp-text-center { text-align: center; }
.hp-text-right { text-align: right; }
.hp-w-full { width: 100%; }

/* Column inner layers (mirrors Vue column-inner / column-content / column-foreground) */
/* .hp-col-inner: wraps background + content, fills the column.
   NOTE: overflow must stay visible so absolutely-positioned dropdowns/submenus
   are not clipped. Border-radius clipping is handled by .hp-bg-layer instead. */
.hp-col-inner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    /* overflow: visible (default) — do NOT set overflow:hidden here */
}
/* .hp-col-content: alignment + horizontal spacing; fills remaining space.
   z-index: 1 keeps content above .hp-bg-layer (z-index: 0) in the same stacking context. */
.hp-col-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}
/* .hp-col-foreground: actual elements wrapper — always full width so that
   align-items on .hp-col-content (from textAlignment) doesn't shrink it. */
.hp-col-foreground {
    display: flex;
    width: 100%;
}
/* Vertical mode: elements fill full width.
   Elements with .hp-element-auto (menu, button, etc.) keep their natural size. */
.hp-col-foreground-vertical > .hp-element {
    width: 100%;
}
.hp-col-foreground-vertical > .hp-element-auto {
    width: auto;
}
/* Horizontal mode: items wrap and size themselves naturally */

/* Element container (legacy, kept for backwards compat) */
.hp-elements { display: flex; width: 100%; }
.hp-elements-vertical { flex-direction: column; }
.hp-elements-horizontal { flex-direction: row; flex-wrap: wrap; }
.hp-element { max-width: 100%; }

/* Background layer for rows/columns.
   z-index: 0 (not -1) so it is never trapped behind a stacking-context ancestor
   (e.g. header { z-index: 50 } or .hp-row-has-menu { z-index: 10 } would eat a -1).
   Content sits above via z-index: 1 on .hp-row-inner / .hp-col-content below. */
.hp-bg-layer {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0; overflow: hidden; pointer-events: none;
}

/* Background animations */
@keyframes bg-fade-in { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes bg-fade-out { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bg-slide-lr { 0% { transform: translateX(-10%); } 100% { transform: translateX(10%); } }
@keyframes bg-slide-rl { 0% { transform: translateX(10%); } 100% { transform: translateX(-10%); } }
@keyframes bg-slide-tb { 0% { transform: translateY(-10%); } 100% { transform: translateY(10%); } }
@keyframes bg-slide-bt { 0% { transform: translateY(10%); } 100% { transform: translateY(-10%); } }
@keyframes bg-rotate-cw { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes bg-rotate-ccw { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }

/* Button styles */
.hp-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; border: none; cursor: pointer;
    font-family: var(--theme-body-font); font-weight: 500;
    text-decoration: none; transition: all 0.2s ease;
    border-radius: var(--theme-border-radius); font-size: 1rem;
    letter-spacing: 0.5px; line-height: 1.4;
}
.hp-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.hp-btn-xs { padding: 4px 10px; font-size: 0.75rem; }
.hp-btn-sm { padding: 6px 16px; font-size: 0.875rem; }
.hp-btn-lg { padding: 14px 32px; font-size: 1.125rem; }
.hp-btn-xl { padding: 18px 40px; font-size: 1.25rem; }
.hp-btn-block { width: 100%; justify-content: center; }
.hp-btn-elevated { /* box-shadow set inline via elevation prop */ }
.hp-btn-flat { box-shadow: none; }
.hp-btn-outlined { background: transparent; border: 2px solid currentColor; }
.hp-btn-tonal { box-shadow: none; }
.hp-btn-text { background: transparent; padding: 10px 16px; }

/* Divider */
.hp-divider { width: 100%; border: none; }

/* Screen reader only */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* Navigation menu */
.hp-menu { position: relative; z-index: 9990; }
.hp-menu-desktop { display: flex; list-style: none; align-items: center; flex-wrap: wrap; margin: 0; padding: 0; }
.hp-menu-desktop > li > a { white-space: nowrap; }
.hp-menu-item { position: relative; z-index: 9990; }
.hp-menu-dropdown { position: absolute; top: 100%; left: 0; background: rgb(var(--v-theme-surface, 255,255,255)); color: rgb(var(--v-theme-on-surface, 26,28,30)); box-shadow: 0 4px 16px rgba(0,0,0,0.12); border-radius: 8px; min-width: 180px; z-index: 9999; padding: 4px 0; list-style: none; font-family: var(--theme-body-font, 'Inter', sans-serif); font-size: 0.875rem; }
.hp-menu-dropdown a { padding: 8px 16px; display: flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; white-space: nowrap; transition: background 0.15s; }
.hp-menu-dropdown a:hover { background: rgba(var(--v-theme-on-surface, 26,28,30), 0.05); }
.hp-menu-dropdown .hp-menu-dropdown { top: 0; left: 100%; }
.hp-menu-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; padding: 8px; color: inherit; }
.hp-menu-mobile-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgb(var(--v-theme-surface, 255,255,255)); color: rgb(var(--v-theme-on-surface, 26,28,30)); z-index: 1000; overflow-y: auto; padding: 20px; font-family: var(--theme-body-font, 'Inter', sans-serif); text-align: left; }
.hp-menu-mobile-overlay ul { list-style: none; }
.hp-menu-mobile-overlay a { display: block; padding: 12px 16px; font-size: 1rem; border-bottom: 1px solid rgba(var(--v-theme-outline, 189,189,189), 0.2); color: inherit; text-decoration: none; text-align: left; }
.hp-menu-mobile-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; cursor: pointer; color: inherit; }
@media (max-width: 960px) {
    .hp-menu-desktop { display: none; }
    .hp-menu-toggle { display: block; }
}

/* Slider / Carousel */
.hp-slider { position: relative; overflow: hidden; }
.hp-slider-track { display: flex; transition: transform 0.5s ease; }
.hp-slider-slide { flex-shrink: 0; position: relative; }
.hp-slider-slide img { width: 100%; height: auto; object-fit: cover; }
.hp-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.15); font-size: 20px; }
.hp-slider-arrow:hover { background: #fff; }
.hp-slider-prev { left: 12px; }
.hp-slider-next { right: 12px; }
.hp-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.hp-slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.2); border: none; cursor: pointer; transition: background 0.2s; padding: 0; }
.hp-slider-dot.active { background: rgb(var(--v-theme-primary, 25, 118, 210)); }
.hp-slider-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; }

/* Accordion */
.hp-accordion-panel { border-bottom: 1px solid rgba(0,0,0,0.08); }
.hp-accordion-panel:last-child { border-bottom: none; }
.hp-accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; border: none; cursor: pointer; font-size: 1.05rem; font-weight: 500; text-align: left; transition: opacity 0.2s; }
.hp-accordion-trigger:hover { opacity: 0.8; }
.hp-accordion-content { line-height: 1.6; }
.hp-accordion-content h1, .hp-accordion-content h2, .hp-accordion-content h3,
.hp-accordion-content h4, .hp-accordion-content h5, .hp-accordion-content h6 { font-family: var(--theme-heading-font); }
.hp-accordion-content p, .hp-accordion-content span, .hp-accordion-content div,
.hp-accordion-content a, .hp-accordion-content li { font-family: var(--theme-body-font); }

/* Gallery lightbox */
.hp-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; }
.hp-lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.hp-lightbox-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; z-index: 1; }
.hp-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 24px; padding: 12px; cursor: pointer; border-radius: 50%; }
.hp-lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.hp-lightbox-prev { left: 16px; }
.hp-lightbox-next { right: 16px; }
.hp-gallery-item { cursor: pointer; overflow: hidden; border-radius: var(--theme-border-radius); }
.hp-gallery-item img { transition: transform 0.3s ease; }
.hp-gallery-item:hover img { transform: scale(1.05); }

/* Form styles */
.hp-form-group { margin-bottom: 16px; }
.hp-form-label { display: block; margin-bottom: 4px; font-weight: 500; font-size: 0.9rem; }
.hp-form-required { color: #e53935; }
.hp-form-input, .hp-form-select, .hp-form-textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-family: var(--theme-body-font); font-size: 0.95rem; transition: border-color 0.2s; background: #fff; }
.hp-form-input:focus, .hp-form-select:focus, .hp-form-textarea:focus { outline: none; border-color: rgb(var(--v-theme-primary, 25, 118, 210)); box-shadow: 0 0 0 2px rgba(var(--v-theme-primary, 25, 118, 210), 0.15); }
.hp-form-textarea { min-height: 100px; resize: vertical; }
.hp-form-error { color: #e53935; font-size: 0.8rem; margin-top: 2px; }
.hp-form-help { color: #999; font-size: 0.8rem; margin-top: 2px; }
.hp-form-checkbox-group, .hp-form-radio-group { display: flex; flex-direction: column; gap: 8px; }
.hp-form-checkbox-label, .hp-form-radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.95rem; }

/* Multi-step wizard */
.hp-wizard-steps { display: flex; gap: 4px; margin-bottom: 32px; }
.hp-wizard-step { flex: 1; text-align: center; padding: 12px 8px; border-bottom: 3px solid #eee; font-size: 0.85rem; color: #999; transition: all 0.2s; }
.hp-wizard-step.active { border-color: rgb(var(--v-theme-primary, 25, 118, 210)); color: #333; font-weight: 600; }
.hp-wizard-step.completed { border-color: #4caf50; color: #4caf50; }

/* Card element */
.hp-card { border-radius: var(--theme-border-radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; background-color: #fff; }
.hp-card-hover { cursor: pointer; }
.hp-card-hover:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }
.hp-card-horizontal { display: flex; flex-wrap: nowrap; flex-direction: row; width: 100%; }
.hp-card-bg-overlay { position: relative; z-index: 1; padding: 24px; background: rgba(0,0,0,0.3); color: #fff; min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; }
.hp-card-btn-row { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.hp-card-section-col { display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hp-card-img-side { flex-wrap: nowrap; }
.hp-card-img-side-wrap { flex-shrink: 0; }
/* Card rounded variants */
.hp-card.hp-card-rounded-none { border-radius: 0; }
.hp-card.hp-card-rounded-sm { border-radius: 4px; }
.hp-card.hp-card-rounded-md { border-radius: 8px; }
.hp-card.hp-card-rounded-lg { border-radius: 12px; }
.hp-card.hp-card-rounded-xl { border-radius: 16px; }
/* Card hover effect on images */
.hp-card-hover .hp-card-img-side-wrap img,
.hp-card-hover .hp-card-section-col img { transition: transform 0.3s ease; }
.hp-card-hover:hover .hp-card-img-side-wrap img,
.hp-card-hover:hover .hp-card-section-col img { transform: scale(1.05); }
@media (max-width: 960px) {
    .hp-card-horizontal { flex-direction: column; }
    .hp-card-horizontal > div { flex: none !important; width: 100% !important; min-width: 100% !important; max-width: 100% !important; }
    .hp-card-img-side { flex-wrap: wrap; }
    .hp-card-img-side-wrap { width: 150px !important; height: 120px !important; }
}
@media (max-width: 600px) {
    .hp-card-img-side { flex-direction: column !important; }
    .hp-card-img-side-wrap { width: 100% !important; height: 150px !important; }
}

/* Document list */
.hp-doc-list { list-style: none; }
.hp-doc-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; }
.hp-doc-item:last-child { border-bottom: none; }
.hp-doc-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(var(--v-theme-primary, 25, 118, 210), 0.1); display: flex; align-items: center; justify-content: center; color: rgb(var(--v-theme-primary, 25, 118, 210)); flex-shrink: 0; }
.hp-doc-info { flex: 1; min-width: 0; }
.hp-doc-name { font-weight: 500; }
.hp-doc-meta { font-size: 0.8rem; color: #999; }
.hp-doc-download { color: rgb(var(--v-theme-primary, 25, 118, 210)); text-decoration: none; font-weight: 500; font-size: 0.9rem; }
.hp-doc-download:hover { text-decoration: underline; }

/* Alert/message */
.hp-alert { padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; }
.hp-alert-success { background: #e8f5e9; color: #2e7d32; }
.hp-alert-error { background: #fbe9e7; color: #c62828; }
.hp-alert-info { background: #e3f2fd; color: #1565c0; }

/* Rich text content */
.theme-text-content { line-height: 1.8; word-wrap: break-word; overflow-wrap: break-word; }
.theme-text-content h1, .theme-text-content h2, .theme-text-content h3,
.theme-text-content h4, .theme-text-content h5, .theme-text-content h6 {
    font-family: var(--theme-heading-font); font-weight: 600; margin-top: 1.2em; margin-bottom: 0.5em; line-height: 1.3;
}
.theme-text-content p { margin-bottom: 0.8em; font-family: var(--theme-body-font); }
.theme-text-content ul, .theme-text-content ol { padding-left: 1.5em; margin-bottom: 0.8em; }
.theme-text-content li { margin-bottom: 0.3em; font-family: var(--theme-body-font); }
.theme-text-content blockquote {
    border-left: 4px solid rgba(var(--v-theme-primary, 25, 118, 210), 0.4);
    padding: 0.5em 1em; margin: 1em 0; font-style: italic; opacity: 0.9; background: rgba(0,0,0,0.02); border-radius: 0 4px 4px 0;
}
.theme-text-content pre, .theme-text-content code {
    font-family: 'Fira Code', 'Consolas', monospace; font-size: 0.9em; background: rgba(0,0,0,0.05); border-radius: 4px;
}
.theme-text-content pre { padding: 1em; overflow-x: auto; margin-bottom: 1em; }
.theme-text-content code { padding: 0.15em 0.4em; }
.theme-text-content pre code { padding: 0; background: none; }
.theme-text-content a { color: rgb(var(--v-theme-primary, 25, 118, 210)); text-decoration: underline; text-underline-offset: 2px; }
.theme-text-content a:hover { opacity: 0.8; }
.theme-text-content table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.theme-text-content th, .theme-text-content td { padding: 8px 12px; border: 1px solid rgba(0,0,0,0.1); text-align: left; }
.theme-text-content th { font-weight: 600; background: rgba(0,0,0,0.03); }
.theme-text-content img { max-width: 100%; height: auto; border-radius: var(--theme-border-radius); margin: 0.5em 0; }
.theme-text-content hr { border: none; border-top: 1px solid rgba(0,0,0,0.1); margin: 1.5em 0; }

/* Alpine.js cloak */
[x-cloak] { display: none !important; }

/* ============================================
   Utility Classes
   ============================================ */

/* Layout */
.hp-block { display: block; }
.hp-inline-block { display: inline-block; }
.hp-inline-flex { display: inline-flex; }
.hp-grid { display: grid; }
.hp-flex-wrap { flex-wrap: wrap; }
.hp-flex-1 { flex: 1; }
.hp-shrink-0 { flex-shrink: 0; }
.hp-items-center { align-items: center; }
.hp-items-start { align-items: flex-start; }
.hp-items-end { align-items: flex-end; }
.hp-justify-between { justify-content: space-between; }
.hp-flex-center { display: flex; align-items: center; justify-content: center; }
.hp-inline-flex-center { display: inline-flex; align-items: center; justify-content: center; }
.hp-relative { position: relative; }
.hp-absolute { position: absolute; }
.hp-absolute-fill { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.hp-overflow-hidden { overflow: hidden; }
.hp-overflow-x-auto { overflow-x: auto; }
.hp-h-full { height: 100%; }
.hp-min-w-0 { min-width: 0; }
.hp-pointer { cursor: pointer; }
.hp-pointer-events-none { pointer-events: none; }
.hp-z-1 { z-index: 1; }
.hp-z-2 { z-index: 2; }
.hp-z-3 { z-index: 3; }
.hp-z-10 { z-index: 10; }
.hp-z-100 { z-index: 100; }

/* Spacing */
.hp-mt-0 { margin-top: 0; }
.hp-mt-2 { margin-top: 2px; }
.hp-mt-4 { margin-top: 4px; }
.hp-mt-8 { margin-top: 8px; }
.hp-mt-12 { margin-top: 12px; }
.hp-mt-16 { margin-top: 16px; }
.hp-mt-24 { margin-top: 24px; }
.hp-mt-auto { margin-top: auto; }
.hp-mb-0 { margin-bottom: 0; }
.hp-mb-4 { margin-bottom: 4px; }
.hp-mb-8 { margin-bottom: 8px; }
.hp-mb-12 { margin-bottom: 12px; }
.hp-mb-16 { margin-bottom: 16px; }
.hp-mb-20 { margin-bottom: 20px; }
.hp-mb-24 { margin-bottom: 24px; }
.hp-ml-8 { margin-left: 8px; }
.hp-ml-12 { margin-left: 12px; }
.hp-mr-6 { margin-right: 6px; }
.hp-mr-8 { margin-right: 8px; }
.hp-mr-12 { margin-right: 12px; }
.hp-p-12 { padding: 12px; }
.hp-p-16 { padding: 16px; }
.hp-p-20 { padding: 20px; }
.hp-p-24 { padding: 24px; }
.hp-p-32 { padding: 32px; }
.hp-px-6 { padding-left: 6px; padding-right: 6px; }
.hp-px-16 { padding-left: 16px; padding-right: 16px; }
.hp-py-0 { padding-top: 0; padding-bottom: 0; }
.hp-py-8 { padding-top: 8px; padding-bottom: 8px; }
.hp-py-16 { padding-top: 16px; padding-bottom: 16px; }
.hp-pt-8 { padding-top: 8px; }
.hp-pt-12 { padding-top: 12px; }
.hp-pt-20 { padding-top: 20px; }
.hp-gap-4 { gap: 4px; }
.hp-gap-6 { gap: 6px; }
.hp-gap-8 { gap: 8px; }
.hp-gap-12 { gap: 12px; }
.hp-gap-16 { gap: 16px; }

/* Typography */
.hp-text-2xs { font-size: 0.7rem; }
.hp-text-xs { font-size: 0.75rem; }
.hp-text-sm { font-size: 0.8rem; }
.hp-text-base { font-size: 0.85rem; }
.hp-text-md { font-size: 0.875rem; }
.hp-text-lg { font-size: 0.9rem; }
.hp-text-xl { font-size: 0.95rem; }
.hp-text-2xl { font-size: 1rem; }
.hp-text-3xl { font-size: 1.1rem; }
.hp-text-4xl { font-size: 1.15rem; }
.hp-text-5xl { font-size: 1.35rem; }
.hp-text-6xl { font-size: 1.5rem; }
.hp-text-7xl { font-size: 2rem; }
.hp-font-normal { font-weight: 400; }
.hp-font-medium { font-weight: 500; }
.hp-font-semibold { font-weight: 600; }
.hp-font-bold { font-weight: 700; }
.hp-leading-tight { line-height: 1.3; }
.hp-leading-normal { line-height: 1.5; }
.hp-leading-relaxed { line-height: 1.6; }
.hp-heading-font { font-family: var(--theme-heading-font, inherit); }
.hp-body-font { font-family: var(--theme-body-font, inherit); }
.hp-no-underline { text-decoration: none; }
.hp-nowrap { white-space: nowrap; }
.hp-color-inherit { color: inherit; }
.hp-color-white { color: #fff; }
.hp-opacity-30 { opacity: 0.3; }
.hp-opacity-40 { opacity: 0.4; }
.hp-opacity-50 { opacity: 0.5; }
.hp-opacity-60 { opacity: 0.6; }
.hp-opacity-70 { opacity: 0.7; }
.hp-opacity-80 { opacity: 0.8; }
.hp-opacity-85 { opacity: 0.85; }
.hp-opacity-90 { opacity: 0.9; }
.hp-truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.hp-line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }

/* Borders & Shadows */
.hp-border { border: 1px solid rgba(0,0,0,0.12); }
.hp-border-none { border: none; }
.hp-border-b { border-bottom: 1px solid rgba(0,0,0,0.12); }
.hp-border-b-light { border-bottom: 1px solid rgba(0,0,0,0.08); }
.hp-rounded { border-radius: 8px; }
.hp-rounded-sm { border-radius: 6px; }
.hp-rounded-lg { border-radius: 12px; }
.hp-rounded-full { border-radius: 9999px; }
.hp-rounded-theme { border-radius: var(--theme-border-radius, 8px); }
.hp-shadow { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.hp-shadow-md { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.hp-shadow-lg { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

/* Media */
.hp-img-responsive { max-width: 100%; height: auto; display: block; }
.hp-img-cover { width: 100%; height: 100%; object-fit: cover; }
.hp-img-contain { max-width: 100%; max-height: 100%; object-fit: contain; }
.hp-img-transition { transition: transform 0.3s; }

/* Interaction */
.hp-transition { transition: all 0.2s ease; }
.hp-transition-transform { transition: transform 0.2s; }

/* Background */
.hp-bg-white { background: #fff; }
.hp-bg-light { background: #f5f5f5; }
.hp-bg-transparent { background: transparent; }

/* ============================================
   Component Classes
   ============================================ */

/* Empty state */
.hp-empty-state { text-align: center; padding: 48px 16px; }
.hp-empty-state-icon { font-size: 48px; opacity: 0.3; }
.hp-empty-state-icon-lg { font-size: 64px; opacity: 0.3; }
.hp-empty-state-title { font-size: 1.15rem; font-weight: 500; margin-top: 12px; }
.hp-empty-state-text { font-size: 0.875rem; opacity: 0.5; margin-top: 4px; }
.hp-empty-state-text-mt8 { font-size: 0.875rem; opacity: 0.5; margin-top: 8px; margin-bottom: 0; }
.hp-empty-state-bordered { text-align: center; padding: 48px 16px; background: rgba(0,0,0,0.02); border: 2px dashed rgba(0,0,0,0.12); border-radius: 8px; }

/* Blog component */
.hp-blog-meta { font-size: 0.8rem; opacity: 0.6; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.hp-blog-meta-12 { font-size: 0.8rem; opacity: 0.6; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.hp-blog-meta-item { display: flex; align-items: center; gap: 4px; }
.hp-blog-separator { width: 1px; height: 14px; background: rgba(0,0,0,0.2); }
.hp-blog-title-text { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; line-height: 1.3; }
.hp-blog-excerpt-text { font-size: 0.9rem; opacity: 0.7; line-height: 1.5; }
.hp-blog-readmore { font-size: 0.85rem; font-weight: 500; }
.hp-blog-readmore-footer { margin-top: auto; padding-top: 8px; }
.hp-blog-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; }
.hp-blog-date-text { font-size: 0.8rem; opacity: 0.5; }
.hp-blog-category-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 99px; }
.hp-blog-category-info { border-bottom: 1px solid rgba(0,0,0,0.12); padding-bottom: 16px; margin-bottom: 24px; }
.hp-blog-list-img-wrap { flex-shrink: 0; width: 200px; overflow: hidden; }
.hp-blog-list-item-layout { display: flex; gap: 16px; border: 1px solid rgba(0,0,0,0.12); border-radius: var(--theme-border-radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.hp-blog-grid-item-layout { display: flex; flex-direction: column; height: 100%; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,0.12); text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; }
.hp-blog-img-aspect { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.3s; }
.hp-blog-img-full { width: 100%; height: 100%; min-height: 120px; object-fit: cover; transition: transform 0.3s; }
.hp-blog-img-fixed { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }

/* Events component */
.hp-event-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 8px; }
.hp-event-meta-item { display: flex; align-items: center; gap: 4px; font-size: 0.875rem; }
.hp-event-detail-section { margin-bottom: 12px; }
.hp-event-detail-label { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.hp-event-detail-value { font-size: 0.875rem; }
.hp-event-card-actions { padding: 0 16px 16px; margin-top: auto; }
.hp-event-games-row { display: flex; flex-wrap: wrap; gap: 4px; }
.hp-event-games-section { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.hp-event-badge { display: inline-block; padding: 2px 10px; font-size: 0.75rem; border-radius: 12px; font-weight: 500; }
.hp-event-badge-sm { display: inline-block; padding: 2px 8px; font-size: 0.7rem; border-radius: 12px; }
.hp-event-badge-lg { display: inline-block; padding: 4px 12px; font-size: 0.75rem; border-radius: 16px; font-weight: 500; }
.hp-event-list-item-layout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; padding: 16px; margin-bottom: 12px; border: 1px solid rgba(0,0,0,0.12); border-radius: var(--theme-border-radius, 8px); cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease; }
.hp-event-grid-item-layout { padding: 16px; border: 1px solid rgba(0,0,0,0.12); border-radius: var(--theme-border-radius, 8px); cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease; }
.hp-event-status-col { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }

/* Gallery component */
.hp-gallery-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); color: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; }
.hp-gallery-nav-left { left: 12px; }
.hp-gallery-nav-left-sm { left: 8px; }
.hp-gallery-nav-right { right: 12px; }
.hp-gallery-nav-right-sm { right: 8px; }
.hp-gallery-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hp-gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; color: white; }
.hp-gallery-caption-sm { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; color: white; }
.hp-gallery-caption-gradient { background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.hp-gallery-caption-gradient-sm { background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); }
.hp-gallery-lightbox-toolbar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; z-index: 3; }
.hp-gallery-lightbox-close { background: transparent; border: none; color: #fff; cursor: pointer; font-size: 28px; padding: 4px; }
.hp-gallery-lightbox-counter { color: #fff; font-size: 0.875rem; }
.hp-gallery-lightbox-caption { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); text-align: center; color: #fff; max-width: 600px; z-index: 3; }
.hp-gallery-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hp-gallery-lightbox-media { max-width: 95vw; max-height: calc(100vh - 120px); object-fit: contain; }
.hp-aspect-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--theme-border-radius, 8px); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.hp-aspect-video-inner { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: var(--theme-border-radius, 8px); }

/* Auth / Form */
.hp-auth-container { width: 100%; background: #fff; border-radius: var(--theme-border-radius); box-shadow: 0 2px 12px rgba(0,0,0,0.1); padding: 32px; text-align: left; }
.hp-auth-header { text-align: center; margin-bottom: 24px; }
.hp-auth-icon { margin-bottom: 12px; }
.hp-auth-title { font-family: var(--theme-heading-font); font-size: 1.4rem; font-weight: 600; }
.hp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-form-grid-full { grid-column: 1 / -1; }
.hp-separator { border: none; border-top: 1px solid #eee; margin: 8px 0; }
.hp-form-label-block { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.hp-form-error-text { font-size: 0.8rem; color: #EF4444; margin-top: 4px; }
.hp-form-success-text { font-size: 0.8rem; color: #10B981; margin-top: 4px; }
.hp-form-checking-text { font-size: 0.8rem; margin-top: 4px; }
.hp-required-star { color: #EF4444; }
.hp-pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; opacity: 0.5; padding: 4px; }
.hp-pw-indicator { font-size: 14px; }
.hp-pw-check { margin-top: 6px; font-size: 0.8rem; }
.hp-auth-footer { margin-top: 16px; text-align: center; font-size: 0.85rem; }
.hp-auth-submit { width: 100%; padding: 10px; }
.hp-alert-mb { margin-bottom: 16px; }

/* Document component */
.hp-doc-table { width: 100%; border-collapse: collapse; border: 1px solid rgba(0,0,0,0.12); border-radius: 8px; overflow: hidden; }
.hp-doc-table-header { padding: 10px 16px; text-align: left; border-bottom: 2px solid rgba(var(--v-theme-primary, 25, 118, 210), 0.2); font-weight: 600; font-size: 0.85rem; background: rgba(var(--v-theme-primary, 25, 118, 210), 0.05); }
.hp-doc-table-header-center { padding: 10px 16px; text-align: center; border-bottom: 2px solid rgba(var(--v-theme-primary, 25, 118, 210), 0.2); font-weight: 600; font-size: 0.85rem; background: rgba(var(--v-theme-primary, 25, 118, 210), 0.05); }
.hp-doc-table-cell { padding: 10px 16px; }
.hp-doc-table-cell-center { padding: 10px 16px; text-align: center; }
.hp-doc-table-cell-meta { padding: 10px 16px; font-size: 0.85rem; opacity: 0.7; }
.hp-doc-table-row { border-bottom: 1px solid rgba(0,0,0,0.08); }
.hp-doc-list-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; text-decoration: none; color: inherit; transition: all 0.2s; }
.hp-doc-icon-wrap { display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; }
.hp-doc-icon-wrap-sm { width: 32px; height: 32px; }
.hp-doc-icon-wrap-md { width: 40px; height: 40px; border-radius: 8px; }

/* Map component */
.hp-map-info-card { position: absolute; top: 12px; left: 12px; z-index: 10; background: #fff; max-width: 250px; border-radius: var(--theme-border-radius, 8px); }
.hp-map-actions { display: flex; margin-top: var(--theme-spacing, 1.6rem); }

/* Slider caption */
.hp-slider-caption-overlay { position: absolute; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; pointer-events: none; }
.hp-slider-caption-inner { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--theme-border-radius, 8px); color: #fff; max-width: 80%; }

/* Icon sizes (for mdi icons) */
.hp-icon-xs { font-size: 14px; }
.hp-icon-sm { font-size: 16px; }
.hp-icon-md { font-size: 18px; }
.hp-icon-lg { font-size: 20px; }
.hp-icon-xl { font-size: 24px; }
.hp-icon-2xl { font-size: 28px; }
.hp-icon-3xl { font-size: 32px; }
.hp-icon-giant { font-size: 48px; }
.hp-icon-huge { font-size: 64px; }

/* Progress bar component */
.hp-progress-circular-wrap { display: flex; flex-wrap: wrap; justify-content: center; }
.hp-progress-circular-item { text-align: center; }
.hp-progress-circular-label { margin-top: 8px; font-size: 0.85rem; font-weight: 500; }
.hp-progress-linear-wrap { display: flex; flex-direction: column; }
.hp-progress-linear-header { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 0.85rem; }
.hp-progress-linear-track { width: 100%; background: #eee; overflow: hidden; }
.hp-progress-linear-fill { height: 100%; transition: width 0.6s ease; }

/* Language switcher */
.hp-lang-dropdown { position: absolute; top: 100%; margin-top: 4px; background: #fff; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); min-width: 160px; z-index: 100; padding: 4px 0; }
.hp-lang-dropdown-item { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 0.9rem; }

/* Section titles */
.hp-section-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; }
.hp-subsection-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }

/* Wizard navigation */
.hp-wizard-nav { margin-top: 24px; display: flex; gap: 12px; }

/* Document upload card */
.hp-doc-upload-card { border: 1px solid #eee; border-radius: 8px; padding: 16px; }
.hp-doc-uploaded { display: flex; align-items: center; gap: 8px; }
.hp-doc-remove-btn { margin-left: auto; background: none; border: none; color: #EF4444; cursor: pointer; font-size: 0.8rem; }
.hp-doc-hint { font-size: 0.75rem; opacity: 0.5; margin-top: 4px; }

/* Category radio card */
.hp-category-grid { display: grid; gap: 12px; margin-bottom: 20px; }

/* Qualification row */
.hp-qual-remove-btn { background: none; border: none; color: #EF4444; cursor: pointer; padding: 8px; }

/* Declaration */
.hp-declaration-box { background: #f9f9f9; padding: 16px; border-radius: 8px; margin: 20px 0; }
.hp-declaration-label { display: flex; gap: 10px; cursor: pointer; font-size: 0.9rem; line-height: 1.5; }

/* Registration number display */
.hp-reg-number-bar { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }

/* Resume registration panel */
.hp-resume-panel { max-width: 400px; margin: 0 auto; }

/* Completion state */
.hp-completion-state { text-align: center; padding: 40px 0; }

/* Team components */
.hp-team-logo-circle { border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hp-team-logo-img { width: 100%; height: 100%; object-fit: cover; }
.hp-team-back-btn { background: rgba(255,255,255,0.2); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hp-player-card { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.hp-player-photo-area { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.hp-captain-badge { position: absolute; top: 8px; right: 8px; background: #F59E0B; color: #fff; padding: 2px 8px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.hp-captain-badge-inline { background: #F59E0B; color: #fff; padding: 1px 6px; border-radius: 8px; font-size: 0.7rem; margin-left: 4px; }
.hp-jersey-badge { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.7); color: #fff; padding: 4px 10px; border-radius: 4px; font-weight: 700; font-size: 0.85rem; }
.hp-player-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); }
.hp-team-strip { display: flex; overflow-x: auto; gap: 12px; padding: 8px 4px; margin-bottom: 24px; scrollbar-width: thin; }
.hp-team-card { border-radius: var(--theme-border-radius); overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.12); background: #fff; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.hp-team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.hp-team-grid-item { padding: 16px; border: 1px solid #eee; border-radius: 6px; cursor: pointer; transition: background 0.2s; }
.hp-team-grid-item:hover { background: rgba(0,0,0,0.02); }
.hp-team-list-item { padding: 16px; border: 1px solid #eee; border-radius: 6px; transition: background 0.2s; }
.hp-team-list-item:hover { background: rgba(0,0,0,0.02); }
.hp-player-grid-item { padding: 12px; border: 1px solid #eee; border-radius: 6px; }

/* Registration cards */
.hp-reg-card { background: #fff; border-radius: var(--theme-border-radius); box-shadow: 0 1px 4px rgba(0,0,0,0.1); margin-bottom: 16px; }
.hp-reg-card-header { padding: 12px 16px; background: rgba(0,0,0,0.02); border-bottom: 1px solid rgba(0,0,0,0.08); font-weight: 600; }
.hp-reg-card-body { padding: 16px; }
.hp-step-actions { display: flex; gap: 8px; margin-top: 16px; justify-content: flex-end; }
.hp-landing-card { cursor: pointer; padding: 24px; border: 2px solid transparent; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: border-color 0.2s; text-align: center; }
.hp-chip { padding: 4px 12px; border-radius: 99px; font-size: 0.85rem; }
.hp-chip-sm { padding: 4px 10px; border-radius: 99px; font-size: 0.75rem; font-weight: 500; }
.hp-dialog-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hp-dialog-box { background: #fff; border-radius: 12px; padding: 24px; width: 90%; max-width: 450px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.hp-dialog-card { background: #fff; border-radius: 12px; width: 100%; max-width: 500px; box-shadow: 0 8px 32px rgba(0,0,0,0.25); overflow: hidden; max-height: 90vh; display: flex; flex-direction: column; }
.hp-dialog-header { padding: 16px 20px; font-size: 1rem; font-weight: 600; border-bottom: 1px solid #E2E8F0; display: flex; align-items: center; justify-content: space-between; }
.hp-dialog-body { padding: 16px 20px; overflow-y: auto; flex: 1; }
.hp-dialog-actions { padding: 12px 20px; border-top: 1px solid #E2E8F0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.hp-justify-center { justify-content: center; }

/* Step summary (read-only completed step view) */
.hp-step-summary { display: flex; flex-direction: column; gap: 6px; padding: 4px 0 8px; }
.hp-step-summary-row { display: flex; align-items: flex-start; gap: 8px; font-size: 0.875rem; }
.hp-step-summary-label { color: #9CA3AF; min-width: 110px; flex-shrink: 0; padding-top: 1px; }
.hp-step-summary-value { color: #374151; font-weight: 500; word-break: break-word; }
