/* ArtisanLink - Sapphire */

:root {
    --al-primary: #1a4d8c;
    --al-primary-dark: #133a6b;
    --al-primary-light: #e8f1fb;
    --al-accent: #2d6cb5;
    --al-bg: #f4f7fb;
    --al-surface: #ffffff;
    --al-text: #1a2332;
    --al-muted: #5c6b7a;
    --al-border: #dde5ee;
    --al-hero-from: #133a6b;
    --al-hero-to: #2d6cb5;
    --al-radius: 10px;
    --al-shadow: 0 1px 3px rgba(26, 77, 140, 0.06);
    --al-shadow-md: 0 6px 20px rgba(26, 77, 140, 0.1);
    --al-notice-bg: #fffbeb;
    --al-notice-border: #fde68a;
    --al-notice-icon: #d97706;
    --bs-primary: #1a4d8c;
    --bs-primary-rgb: 26, 77, 140;
}

[data-theme="dark"] {
    color-scheme: dark;
    --al-primary: #5ba3ff;
    --al-primary-dark: #3d8ce6;
    --al-primary-light: #1a3050;
    --al-accent: #7eb8ff;
    --al-bg: #0c1118;
    --al-surface: #151d2b;
    --al-text: #e8edf4;
    --al-muted: #94a3b8;
    --al-border: #2a3648;
    --al-hero-from: #060a10;
    --al-hero-to: #1a4d8c;
    --al-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    --al-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.45);
    --al-notice-bg: #2a2418;
    --al-notice-border: #4a3d1a;
    --al-notice-icon: #fbbf24;
    --bs-primary: #5ba3ff;
    --bs-primary-rgb: 91, 163, 255;
}

[data-theme="light"] {
    color-scheme: light;
}

html {
    transition: background-color 0.2s ease, color 0.2s ease;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--al-text);
    background: var(--al-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

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

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

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 8px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--al-primary);
    border-color: var(--al-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--al-primary-dark);
    border-color: var(--al-primary-dark);
    box-shadow: 0 4px 12px rgba(26, 77, 140, 0.25);
}

.btn-outline-primary {
    color: var(--al-primary);
    border-color: var(--al-border);
    background: var(--al-surface);
}

.btn-outline-primary:hover {
    background: var(--al-primary-light);
    border-color: var(--al-primary);
    color: var(--al-primary-dark);
}

.btn-whatsapp {
    background: #22a55d;
    border-color: #22a55d;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1d8f4f;
    border-color: #1d8f4f;
    color: #fff;
}

.btn-sms {
    background: var(--al-surface);
    border-color: var(--al-border);
    color: var(--al-text);
}

.btn-sms:hover {
    background: var(--al-primary-light);
    border-color: var(--al-primary);
    color: var(--al-primary);
}

/* Contact actions */
.contact-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.contact-actions .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
}

.contact-actions--sm .btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.35rem;
}

.contact-actions--sm .btn span {
    white-space: nowrap;
}

.contact-actions--md .btn {
    min-width: 7rem;
}

.profile-contact .contact-actions {
    margin-top: 0;
    flex-wrap: wrap;
}

/* Theme toggle */
.btn-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--al-border);
    border-radius: 8px;
    background: var(--al-surface);
    color: var(--al-muted);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-theme-toggle:hover {
    color: var(--al-primary);
    border-color: var(--al-primary);
    background: var(--al-primary-light);
}

[data-theme="light"] .theme-icon-light {
    display: none !important;
}

[data-theme="dark"] .theme-icon-dark {
    display: none !important;
}

.site-nav .navbar-toggler-icon {
    width: 1.15rem;
    height: 2px;
    background-image: none;
    background-color: var(--al-text);
    border-radius: 1px;
    position: relative;
    transition: background-color 0.15s ease;
}

.site-nav .navbar-toggler-icon::before,
.site-nav .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--al-text);
    border-radius: 1px;
    transition: top 0.15s ease, transform 0.15s ease;
}

.site-nav .navbar-toggler-icon::before {
    top: -6px;
}

.site-nav .navbar-toggler-icon::after {
    top: 6px;
}

.site-nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.site-nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.site-nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.form-control,
.form-select {
    background-color: var(--al-surface);
    color: var(--al-text);
    border-color: var(--al-border);
}

.form-control::placeholder {
    color: var(--al-muted);
    opacity: 0.8;
}

[data-theme="dark"] .btn-primary {
    color: #0c1118;
}

[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-primary:focus {
    color: #0c1118;
    box-shadow: 0 4px 12px rgba(91, 163, 255, 0.3);
}

.site-nav {
    background: var(--al-surface);
    border-bottom: 1px solid var(--al-border);
    padding: 0.85rem 0;
    box-shadow: var(--al-shadow);
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--al-primary-light);
    color: var(--al-primary);
    border-radius: 9px;
    font-size: 1rem;
}

.brand-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--al-text);
}

.site-nav .nav-link {
    color: var(--al-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem !important;
    border-radius: 8px;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--al-primary);
    background: var(--al-primary-light);
}

.site-nav .navbar-nav {
    gap: 0.35rem;
}

.site-nav .nav-signin {
    color: var(--al-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.22em;
    text-decoration-thickness: 1.5px;
    background: transparent;
}

.site-nav .nav-signin:hover,
.site-nav .nav-signin.active {
    color: var(--al-primary-dark);
    background: transparent;
    text-decoration-thickness: 2px;
}

.site-nav .nav-list-item {
    margin-left: 0.35rem;
}

.nav-join-menu,
.nav-register-mobile {
    display: none;
}

/* Hero */
.hero {
    background: linear-gradient(160deg, var(--al-hero-from) 0%, var(--al-primary) 55%, var(--al-hero-to) 100%);
    color: #fff;
    padding: 3.5rem 0 4rem;
}

.hero-title {
    font-size: clamp(1.85rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    max-width: 26rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-width: 22rem;
}

.hero-primary,
.hero-secondary {
    min-height: 48px;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    font-weight: 700;
}

.hero-primary {
    background: #fff;
    border: 2px solid #fff;
    color: var(--al-primary);
}

.hero-primary:hover,
.hero-primary:focus {
    background: var(--al-primary-light);
    border-color: #fff;
    color: var(--al-primary-dark);
}

.hero-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.hero-secondary:hover,
.hero-secondary:focus {
    background: #fff;
    border-color: #fff;
    color: var(--al-primary);
}

@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
        max-width: none;
    }
}

#findWorker .modal-dialog,
#findWorker .modal-content,
#findWorker .modal-body {
    overflow: visible;
}

#findWorker .search-box {
    max-width: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

#findWorker .search-box form {
    flex-direction: column;
}

#findWorker .search-box .search-submit {
    width: 100%;
}

.craft-extra {
    margin-top: 0.15rem;
    padding: 0.85rem 0.9rem 0.95rem;
    border: 1px solid var(--al-border);
    border-radius: 12px;
    background: var(--al-bg);
}

.craft-extra-label {
    margin: 0 0 0.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--al-muted);
}

.craft-extra-note {
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--al-muted);
}

.craft-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.craft-pick {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--al-border);
    border-radius: 999px;
    background: var(--al-surface);
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
}

.craft-pick:has(input:checked) {
    border-color: var(--al-primary);
    background: var(--al-primary-light);
    color: var(--al-primary-dark);
}

.profile-crafts {
    margin: -0.15rem 0 0.75rem;
    color: var(--al-muted);
    font-size: 0.95rem;
}

.search-box {
    background: var(--al-surface);
    border-radius: 16px;
    padding: 0.85rem;
    box-shadow: var(--al-shadow-md);
    max-width: 680px;
}

.search-box form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-field {
    min-width: 0;
    flex: 1;
}

.search-box .form-control {
    border: 1.5px solid var(--al-border);
    background: var(--al-bg);
    color: var(--al-text);
    border-radius: 10px;
    min-height: 52px;
    padding: 0.75rem 0.9rem;
    font-size: 16px;
    box-shadow: none;
}

.search-box .form-control::placeholder {
    color: var(--al-muted);
    opacity: 1;
}

.search-box .form-control:focus {
    border-color: var(--al-primary);
    background: var(--al-surface);
    outline: none;
    box-shadow: 0 0 0 3px var(--al-primary-light);
}

.search-box .btn-primary,
.search-box .search-submit {
    min-height: 0;
    align-self: center;
    padding: 0.35rem 0.95rem;
    font-size: 0.875rem;
    line-height: 1.3;
    white-space: nowrap;
}

.email-frame {
    background: var(--al-bg);
    border-radius: 12px;
    padding: 1rem 0.5rem;
}

.hero-signup {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero .btn.hero-register {
    display: inline-block;
    margin-left: 0.55rem;
    padding: 0.28rem 0.85rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    vertical-align: baseline;
    box-shadow: none;
}

.hero .btn.hero-register:hover,
.hero .btn.hero-register:focus {
    background: #fff;
    color: var(--al-primary);
    border-color: #fff;
}

.link-arrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--al-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.link-arrow:hover {
    color: var(--al-primary-dark);
}

/* Sections */
.section {
    padding: 3.5rem 0;
}

.section-alt {
    background: var(--al-surface);
}

.section-header {
    margin-bottom: 2rem;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    color: var(--al-text);
    margin-bottom: 0.35rem;
}

.section-subtitle {
    color: var(--al-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Artisan CTA */
.artisan-cta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem;
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
}

.artisan-cta-title {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.artisan-cta-text {
    color: var(--al-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Signup */
.signup-card {
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .signup-card {
        padding: 2rem;
    }
}

.signup-section + .signup-section {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--al-border);
}

.signup-section h2 {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.9rem;
    padding: 0.28rem 0.7rem;
    border: 0;
    border-radius: 999px;
    background: var(--al-primary-light);
    color: var(--al-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.signup-section h2::before {
    content: none;
}

.signup-card .form-label {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--al-text);
    margin-bottom: 0.4rem;
}

.signup-optional {
    color: var(--al-muted);
    font-weight: 500;
}

.signup-hint {
    font-size: 0.8rem;
    color: var(--al-muted);
    margin-top: 0.35rem;
}

.signup-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 1.5rem 0 1rem;
    font-size: 0.92rem;
}

.signup-terms span {
    min-width: 0;
}

.signup-terms input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.signup-card .form-control,
.signup-card .form-select {
    min-height: 46px;
    font-size: 16px;
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 2.8rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.2rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--al-muted);
    padding: 0;
}

.password-toggle:hover,
.password-toggle:focus {
    color: var(--al-primary);
}

.dash-summary h2 {
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
}

.dash-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75rem;
    background: var(--al-primary-light);
}

.dash-status {
    display: inline-block;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: #fff4d6;
    color: #8a5a00;
}

.dash-status.is-approved {
    background: #e5f6ec;
    color: #146c43;
}

.dash-status.is-rejected {
    background: #fde8e8;
    color: #9b1c1c;
}

.dash-summary dl {
    margin: 0;
}

.dash-summary dl div {
    margin-bottom: 0.75rem;
}

.dash-summary dt {
    color: var(--al-muted);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.dash-summary dd {
    margin: 0;
}

.dash-work-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.dash-work-item img {
    display: block;
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--al-radius);
    background: var(--al-primary-light);
}

.dash-work-item label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    font-size: 0.85rem;
}

.prose-page p,
.prose-page li {
    color: var(--al-muted);
    line-height: 1.6;
}

.prose-page h2 {
    font-size: 1.05rem;
    margin: 1.5rem 0 0.4rem;
}

.signup-success {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
}

.signup-success-icon {
    font-size: 2.5rem;
    color: #22a55d;
    margin-bottom: 1rem;
}

.signup-success h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .artisan-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Category cards */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.35rem 1rem;
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
    text-decoration: none;
    color: var(--al-text);
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.category-card:hover {
    border-color: var(--al-primary);
    box-shadow: var(--al-shadow-md);
    transform: translateY(-2px);
    color: var(--al-text);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    background: color-mix(in srgb, var(--cat-color) 12%, white);
    color: var(--cat-color);
}

.category-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.category-count {
    font-size: 0.8rem;
    color: var(--al-muted);
}

/* Worker cards */
.worker-card {
    position: relative;
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.worker-card-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.worker-card .contact-actions {
    position: relative;
    z-index: 2;
}

.worker-card:hover {
    box-shadow: var(--al-shadow-md);
}

.worker-card-img-link {
    display: block;
    overflow: hidden;
}

.worker-card-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.worker-card-body {
    padding: 1.15rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.worker-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.worker-card-name a {
    color: var(--al-text);
    text-decoration: none;
}

.worker-card-name a:hover {
    color: var(--al-primary);
}

.worker-card-skill {
    color: var(--al-primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.worker-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.8rem;
    color: var(--al-muted);
    margin-bottom: 0.35rem;
}

.worker-card .link-arrow {
    font-size: 0.82rem;
    margin-bottom: 0.65rem;
}

.worker-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.worker-card-area {
    margin: -0.1rem 0 0.45rem;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: var(--al-muted);
    font-size: 0.8rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Steps */
.step-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--al-bg);
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
    height: 100%;
}

.section-alt .step-card {
    background: var(--al-surface);
}

.step-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--al-primary-light);
    color: var(--al-primary);
    border-radius: 50%;
    font-size: 1.35rem;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.step-text {
    font-size: 0.875rem;
    color: var(--al-muted);
    margin: 0;
}

/* Notice */
.notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: var(--al-notice-bg);
    border: 1px solid var(--al-notice-border);
    border-radius: var(--al-radius);
}

.notice .bi {
    color: var(--al-notice-icon);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.notice-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.notice p {
    font-size: 0.875rem;
    color: var(--al-muted);
    margin: 0;
}

/* Page header */
.page-header {
    background: var(--al-surface);
    padding: 2rem 0;
    border-bottom: 1px solid var(--al-border);
}

.page-title {
    font-size: clamp(1.45rem, 4vw, 1.85rem);
    margin-bottom: 0.35rem;
}

.page-lead {
    font-size: 0.95rem;
    color: var(--al-muted);
    margin: 0;
}

/* Filter */
.filter-bar {
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
    padding: 1.25rem;
    margin-bottom: 2rem;
    box-shadow: var(--al-shadow);
}

.filter-bar .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--al-muted);
}

.filter-bar .form-control,
.filter-bar .form-select {
    border-color: var(--al-border);
    border-radius: 8px;
    font-size: 0.9rem;
}

.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
    border-color: var(--al-primary);
    box-shadow: 0 0 0 3px rgba(26, 77, 140, 0.12);
}

.results-info {
    font-size: 0.9rem;
    color: var(--al-muted);
    margin-bottom: 1.5rem;
}

/* Profile */
.profile-header {
    background: var(--al-surface);
    border-bottom: 1px solid var(--al-border);
    padding: 2rem 0 2.5rem;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--al-primary-light);
}

.profile-name {
    font-size: clamp(1.4rem, 4vw, 1.85rem);
    margin-bottom: 0.2rem;
}

.profile-skill {
    color: var(--al-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.profile-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: var(--al-muted);
}

.profile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.info-card {
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.info-card-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--al-border);
}

.skill-tag {
    display: inline-block;
    background: var(--al-primary-light);
    color: var(--al-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    margin: 0 0.35rem 0.35rem 0;
}

.gallery-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
}

/* Locations */
.location-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
    text-decoration: none;
    color: var(--al-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.location-card:hover {
    border-color: var(--al-primary);
    box-shadow: var(--al-shadow);
    color: var(--al-text);
}

.location-name {
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.location-state {
    font-size: 0.8rem;
    color: var(--al-muted);
}

.location-count {
    background: var(--al-primary-light);
    color: var(--al-primary);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
    white-space: nowrap;
}

.location-group-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--al-primary);
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.location-group-title:first-child {
    margin-top: 0;
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px !important;
    margin: 0 3px;
    border-color: var(--al-border);
    color: var(--al-text);
    font-weight: 500;
    font-size: 0.875rem;
}

.pagination .page-item.active .page-link {
    background: var(--al-primary);
    border-color: var(--al-primary);
}

.pagination .page-link:hover {
    background: var(--al-primary-light);
    border-color: var(--al-primary);
    color: var(--al-primary);
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--al-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--al-primary);
}

/* Footer */
.site-footer {
    background: var(--al-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
    margin-top: 1rem;
}

[data-theme="dark"] .site-footer {
    background: #060a10;
    border-top: 1px solid var(--al-border);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 2rem 0 1.25rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.site-footer .brand-text .footer-accent {
    color: #7eb3e8;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--al-muted);
}

.empty-state .bi {
    font-size: 2.5rem;
    opacity: 0.4;
    margin-bottom: 1rem;
}

/* Responsive */
@media (min-width: 1200px) {
    .site-nav .navbar-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 0.4rem;
        column-gap: 0.2rem;
    }

    .site-nav .nav-list-item {
        margin-left: 0.85rem;
    }

    .site-nav .nav-list-item + .nav-item {
        margin-left: 0.5rem;
    }
}

@media (max-width: 1199.98px) {
    .site-nav .navbar > .container {
        flex-wrap: wrap;
        align-items: center;
        column-gap: 0.85rem;
    }

    .site-nav .navbar-brand {
        min-width: 0;
        flex: 1 1 auto;
        margin-right: 0.75rem;
    }

    .site-nav .brand-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-join-menu {
        display: block;
    }

    .nav-register-mobile {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: 0.9rem;
        padding: 0.28rem 0.7rem;
        font-size: 0.8rem;
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
    }

    .site-nav .navbar-toggler {
        flex: 0 0 auto;
        margin-left: auto;
        padding: 0.35rem 0.45rem;
    }

    .nav-register-mobile + .navbar-toggler {
        margin-left: 0;
    }

    .site-nav .navbar-collapse {
        flex-basis: 100%;
        margin-top: 0.85rem;
        padding: 0.85rem 0 0.35rem;
        border-top: 1px solid var(--al-border);
    }

    .site-nav .navbar-nav {
        align-items: stretch;
        gap: 0.65rem;
    }

    .site-nav .nav-link {
        display: block;
        padding: 0.8rem 0.9rem !important;
    }

    .site-nav .nav-item .btn:not(.btn-theme-toggle) {
        width: 100%;
        margin: 0;
        padding: 0.75rem 1rem;
    }

    .site-nav .nav-list-item {
        display: none;
    }

    .site-nav .nav-item .btn-theme-toggle {
        margin: 0.15rem 0;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 1.25rem 0;
    }

    .signup-card {
        padding: 1.15rem 1rem 1.35rem;
    }

    .signup-card form .btn-primary {
        width: 100%;
    }

    .hero {
        padding: 2.5rem 0 3rem;
    }

    .hero-actions {
        max-width: none;
    }

    .section {
        padding: 2.5rem 0;
    }

    .search-box {
        padding: 0.9rem;
    }

    .search-box .search-submit {
        width: 100%;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .worker-card-img {
        height: 170px;
    }

    .profile-photo {
        width: 96px;
        height: 96px;
    }
}

@media (min-width: 768px) {
    .search-box form {
        flex-direction: row;
        align-items: center;
        gap: 0.65rem;
    }

    .search-box .search-submit {
        width: auto;
    }
}

.search-box .suggest-wrap {
    flex: 1;
    min-width: 0;
}

.search-box .suggest-wrap .form-control {
    width: 100%;
}

.suggest-wrap {
    position: relative;
}

.suggest-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--al-surface);
    border: 1px solid var(--al-border);
    border-radius: 10px;
    box-shadow: var(--al-shadow-md);
    overflow: hidden;
}

.suggest-menu a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.9rem;
    color: var(--al-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.suggest-menu a small {
    color: var(--al-muted);
    font-weight: 500;
}

.suggest-menu a:hover {
    background: var(--al-primary-light);
}

.is-loading {
    opacity: 0.55;
    transition: opacity 0.15s ease;
}
