﻿.logo-custom{
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: white;
}

.logo-custom-short{
    color: white; 
    font-family: "Plus Jakarta Sans", sans-serif;; 
    font-weight: 700; 
    font-size: 26px
}

/* Filter Section Styling */
.filter-section {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid #eef2f7;
}

.filter-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 5px;
}

.form-control-sm, .custom-select-sm {
    border-radius: 6px;
    border-color: #e2e8f0;
}

/* Skilled Workers Grid */
.workers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.worker-card {
    background: #ffffff;
    border: 0.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: border-color 0.15s ease;
}

.worker-card:hover {
    border-color: #94a3b8;
    cursor: pointer;
}

/* Top: Identity + Badges */
.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.worker-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-initial {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    flex-shrink: 0;
}

.worker-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
    word-break: break-word;
}

.worker-trade {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
}

.badge-row {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.badge {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 7px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.badge-verified {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-unlocked {
    background: #dcfce7;
    color: #166534;
}

/* Divider */
.card-divider {
    height: 0.5px;
    background: #e2e8f0;
}

/* Middle: Meta details */
.meta-icon-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.meta-icon-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.meta-icon-item span {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
}

.meta-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
}

.meta-value-trade {
    font-size: 13px;
    font-weight: 500;
    color: #0369a1;
}

/* Bottom: Contact + Actions */
.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.phone-number {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
}

.btn-copy {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 0.5px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: background 0.1s;
}

.btn-copy:hover {
    background: #f1f5f9;
}

.unlock-hint {
    font-size: 11px;
    color: #94a3b8;
}

.btn-profile {
    background: transparent;
    border: 0.5px solid #e2e8f0;
    color: #64748b;
    border-radius: 8px;
    padding: 6px 13px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.1s;
}

.btn-profile:hover {
    background: #f8fafc;
}

.btn-unlock {
    background: transparent;
    border: 0.5px solid #0369a1;
    color: #0369a1;
    border-radius: 8px;
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.1s;
}

.btn-unlock:hover {
    background: #e0f2fe;
}

.workers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .workers-header-title {
        display: none;
    }
}

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

@media (max-width: 480px) {
    .meta-icon-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .worker-card {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    #more-info-modal .modal-dialog {
        max-width: 100% !important;
        margin: 0.5rem;
    }
}

.profile-nudge {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 1.75rem;
    margin-bottom: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f3f4ff 0%, #ffffff 60%);
    border: 1px solid #e6e8fb;
    box-shadow: 0 10px 30px -18px rgba(98, 111, 201, 0.45);
}

.profile-nudge__progress {
    position: relative;
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
}

.profile-nudge__ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.profile-nudge__ring-track {
    fill: none;
    stroke: #e6e8fb;
    stroke-width: 8;
}

.profile-nudge__ring-value {
    fill: none;
    stroke: #626fc9;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease;
}

.profile-nudge__percent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: #343a40;
}

.profile-nudge__body {
    flex: 1;
    min-width: 0;
}

.profile-nudge__eyebrow {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.6rem;
    border-radius: 999px;
    background: rgba(98, 111, 201, 0.12);
    color: #626fc9;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profile-nudge__title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #343a40;
}

.profile-nudge__text {
    margin: 0 0 1.25rem;
    color: #6c757d;
}

.profile-nudge__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 1400px) {
    .profile-nudge__steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.profile-nudge__step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e6e8fb;
    color: #343a40;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

a.profile-nudge__step:hover,
a.profile-nudge__step:focus {
    color: #343a40;
    text-decoration: none;
    border-color: #8892d6;
    box-shadow: 0 8px 20px -12px rgba(98, 111, 201, 0.6);
    transform: translateY(-1px);
}

.profile-nudge__step-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(98, 111, 201, 0.12);
    color: #626fc9;
    font-size: 1rem;
}

.profile-nudge__step-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-nudge__step-label {
    font-weight: 500;
    line-height: 1.3;
}

.profile-nudge__step-hint {
    font-size: 0.78rem;
    color: #98a6ad;
}

.profile-nudge__step-arrow {
    margin-left: auto;
    color: #8892d6;
    transition: transform 0.15s ease;
}

a.profile-nudge__step:hover .profile-nudge__step-arrow {
    transform: translateX(3px);
}

.profile-nudge__step--done {
    background: #f8f9fa;
    border-color: transparent;
    color: #98a6ad;
}

.profile-nudge__step--done .profile-nudge__step-icon {
    background: rgba(16, 196, 105, 0.12);
    color: #10c469;
}

.profile-nudge__step--done .profile-nudge__step-label {
    text-decoration: line-through;
}

@media (max-width: 575.98px) {
    .profile-nudge {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.25rem;
    }

    .profile-nudge__steps {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

.job-posting h1,
.job-posting h2,
.job-posting h3,
.job-posting h4 {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.job-posting > :first-child {
    margin-top: 0;
}

.job-posting ul {
    padding-left: 1.25rem;
}

.job-posting-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (min-width: 992px) {
    #wrapper:has(.sticky-filters),
    #wrapper:has(.sticky-filters) .content-page {
        overflow: clip;
    }

    #wrapper:has(.sticky-filters) #topnav {
        top: 0;
    }

    .sticky-filters {
        position: sticky;
        top: 138px;
        max-height: calc(100vh - 146px);
        overflow-y: auto;
    }
}

.match-reasoning {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.collapse-toggle .when-closed,
.collapse-toggle.collapsed .when-open {
    display: none;
}

.collapse-toggle.collapsed .when-closed {
    display: inline;
}

.stat-percent {
    min-width: 3rem;
}

.page-title-box .page-title.text-none {
    text-transform: none;
}

.account-nav .list-group-item {
    color: #323a46;
    border-left: 3px solid transparent;
}

.account-nav .list-group-item:hover,
.account-nav .list-group-item:focus {
    color: #1d5f97;
    background-color: #f1f5f7;
}

.account-nav .list-group-item.active {
    color: #1d5f97;
    background-color: #e8f1fa;
    border-color: transparent;
    border-left-color: #348cd4;
    font-weight: 600;
}

.account-nav .account-nav__signout,
.account-nav .account-nav__signout:hover,
.account-nav .account-nav__signout:focus {
    color: #b8381a;
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #2a72ad;
    border-color: #2a72ad;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #235f90;
    border-color: #235f90;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #1f5480;
    border-color: #1f5480;
}

.btn-outline-primary,
.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
    color: #2a72ad;
    border-color: #2a72ad;
}

.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #2a72ad;
    border-color: #2a72ad;
}

.text-primary { color: #2a72ad !important; }
.text-success { color: #3f7f24 !important; }
.text-info { color: #1c7a99 !important; }
.text-warning { color: #9a5b00 !important; }
.text-danger { color: #c23a12 !important; }
.text-purple { color: #5560b0 !important; }

.badge-primary { color: #fff; background-color: #2a72ad; }
.badge-success { color: #fff; background-color: #3f7f24; }
.badge-info { color: #fff; background-color: #1c7a99; }
.badge-warning { color: #2d2200; background-color: #ff9800; }
.badge-danger { color: #fff; background-color: #c23a12; }
.badge-purple { color: #fff; background-color: #5560b0; }

.badge-light-primary { color: #22609a !important; }
.badge-light-success { color: #336a1c !important; }
.badge-light-info { color: #186a85 !important; }
.badge-light-warning { color: #8a5100 !important; }
.badge-light-danger { color: #a8300e !important; }
.badge-light-purple { color: #5560b0 !important; }
.badge-light-secondary { color: #4b545c !important; }

.btn-success,
.btn-success.disabled,
.btn-success:disabled { color: #fff; background-color: #3f7f24; border-color: #3f7f24; }
.btn-success:hover,
.btn-success:focus,
.btn-success:not(:disabled):not(.disabled):active { color: #fff; background-color: #34691e; border-color: #34691e; }

.btn-danger,
.btn-danger.disabled,
.btn-danger:disabled { color: #fff; background-color: #c23a12; border-color: #c23a12; }
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:not(:disabled):not(.disabled):active { color: #fff; background-color: #a3300f; border-color: #a3300f; }

.btn-info,
.btn-info.disabled,
.btn-info:disabled { color: #fff; background-color: #1c7a99; border-color: #1c7a99; }
.btn-info:hover,
.btn-info:focus,
.btn-info:not(:disabled):not(.disabled):active { color: #fff; background-color: #176580; border-color: #176580; }

.btn-purple,
.btn-purple.disabled,
.btn-purple:disabled { color: #fff; background-color: #5560b0; border-color: #5560b0; }
.btn-purple:hover,
.btn-purple:focus,
.btn-purple:not(:disabled):not(.disabled):active { color: #fff; background-color: #474f94; border-color: #474f94; }

.btn-outline-success { color: #3f7f24; border-color: #3f7f24; }
.btn-outline-danger { color: #c23a12; border-color: #c23a12; }
.btn-outline-info { color: #1c7a99; border-color: #1c7a99; }
.btn-outline-purple { color: #5560b0; border-color: #5560b0; }

.btn-outline-success:hover,
.btn-outline-success:not(:disabled):not(.disabled):active { color: #fff; background-color: #3f7f24; border-color: #3f7f24; }
.btn-outline-danger:hover,
.btn-outline-danger:not(:disabled):not(.disabled):active { color: #fff; background-color: #c23a12; border-color: #c23a12; }
.btn-outline-info:hover,
.btn-outline-info:not(:disabled):not(.disabled):active { color: #fff; background-color: #1c7a99; border-color: #1c7a99; }
.btn-outline-purple:hover,
.btn-outline-purple:not(:disabled):not(.disabled):active { color: #fff; background-color: #5560b0; border-color: #5560b0; }

.bg-soft-primary .text-primary { color: #22609a !important; }
.bg-soft-success .text-success { color: #336a1c !important; }
.bg-soft-info .text-info { color: #186a85 !important; }
.bg-soft-warning .text-warning { color: #8a5100 !important; }
.bg-soft-danger .text-danger { color: #a8300e !important; }
.bg-soft-purple .text-purple { color: #4a5499 !important; }

.text-muted { color: #6c757d !important; }

[class*="bg-soft-"] .text-muted,
.bg-light .text-muted { color: #4b545c !important; }

.logo-box .brand-logo {
    height: 26px;
    width: auto;
    vertical-align: middle;
}

a,
.btn-link { color: #2a72ad; }

a:hover,
.btn-link:hover,
.btn-link:focus { color: #1f5480; }

.sub-header { color: #6c757d; }

.form-control::placeholder { color: #6c757d; opacity: 1; }

.form-control:disabled,
.form-control[readonly] { color: #495057; }

.input-group-text { color: #4b545c; }

.table th { color: #4b545c; }

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__rendered { color: #323a46; }

.select2-container--default .select2-selection--single .select2-selection__placeholder { color: #6c757d; }

.footer,
.footer a,
.footer .footer-links a { color: #555f67; }

.footer a:hover,
.footer .footer-links a:hover { color: #1f5480; }

.table th,
.table .thead-light th,
.table thead th { color: #4b545c; }

.breadcrumb-item a { color: #4b545c; }
.breadcrumb-item a:hover { color: #1f5480; }
.breadcrumb-item.active { color: #5c656d; }

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    color: #fff;
    background-color: #2a72ad;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #fff;
    background-color: #2a72ad;
    border-color: #2a72ad;
}

.navbar-custom,
body[data-layout="horizontal"] .navbar-custom {
    background-color: #011e4a;
}

.navbar-custom .topnav-menu .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navigation-menu > li > a {
    color: #323a46;
}

.navigation-menu > li > a:hover,
.navigation-menu > li > a:focus,
.navigation-menu > li:hover > a {
    color: #2a72ad;
}

.navigation-menu > li.active > a {
    color: #2a72ad;
    font-weight: 600;
}

@media (min-width: 992px) {
    .navigation-menu > li > a:hover,
    .navigation-menu > li > a:focus,
    .navigation-menu > li > a:active,
    .navigation-menu > li:hover a {
        color: #2a72ad;
    }

    .navigation-menu > li.active > a {
        box-shadow: inset 0 -3px 0 #2a72ad;
    }
}

.profile-dropdown .dropdown-item {
    color: #323a46;
}

.profile-dropdown .dropdown-item:hover,
.profile-dropdown .dropdown-item:focus {
    color: #1f5480;
    background-color: #f1f5f7;
}

.navbar-custom .nav-user {
    display: flex;
    align-items: center;
    min-height: 70px;
}

.navbar-custom .user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #fff;
    color: #011e4a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.navbar-custom .user-name {
    margin-left: 10px;
    color: #fff;
    font-weight: 500;
    line-height: 1;
}

.navbar-custom .user-caret {
    margin-left: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1;
}

.navbar-custom .nav-user:hover .user-avatar,
.navbar-custom .dropdown.show .user-avatar {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.public-page .content-page {
    margin-top: 0;
    padding-top: 86px;
}

.public-nav {
    display: flex;
    align-items: center;
    min-height: 70px;
}

.public-nav > li + li {
    margin-left: 12px;
}

.public-nav__link {
    color: #fff;
    font-weight: 500;
}

.public-nav__link:hover,
.public-nav__link:focus {
    color: #fff;
    text-decoration: underline;
}

.legal-text h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #323a46;
    scroll-margin-top: 90px;
}

.legal-text h4:first-of-type {
    margin-top: 0.5rem;
}

.legal-text p,
.legal-text li {
    line-height: 1.65;
}

#contact {
    scroll-margin-top: 90px;
}
