/* Extracted from resources/views/frontend/pages/employees.blade.php */
/* â”€â”€â”€ Color Overrides â”€â”€â”€ */
:root {
    --main-color: #0b8260;
    --main-color-hover: #09684d;
}

.page-title .breadcrumb.light .breadcrumb-item,
.page-title .breadcrumb.light .breadcrumb-item a,
.page-title .breadcrumb.light .breadcrumb-item::before {
    color: #fff !important;
}

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

.btn-main {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    font-weight: 600;
}
.btn-main:hover {
    background-color: var(--main-color-hover);
    color: #fff;
}

/* â”€â”€â”€ Search Hero â”€â”€â”€ */
.emp-filter-section {
    background: #f8fafc;
    min-height: 80vh;
    padding: 40px 0 60px;
}
.emp-search-hero {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    margin-bottom: 32px;
    border: 1.5px solid #f1f5f9;
}
.emp-search-bar {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px 8px 6px 20px;
    gap: 0;
    transition: border-color 0.2s;
}
.emp-search-bar:focus-within {
    border-color: var(--main-color);
}
.esb-group {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
}
.esb-group input {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
    color: #374151;
}
.esb-icon {
    color: #9ca3af;
    font-size: 1rem;
    flex-shrink: 0;
}
.esb-divider {
    width: 1px;
    height: 30px;
    background: #e2e8f0;
    margin: 0 12px;
}
.esb-btn {
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
}
.esb-btn:hover {
    opacity: 0.88;
}

/* â”€â”€â”€ Active Tags â”€â”€â”€ */
.emp-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(11, 130, 96, 0.08);
    color: var(--main-color);
    border: 1px solid rgba(11, 130, 96, 0.15);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 3px;
}
.emp-tag-rm {
    cursor: pointer;
    font-size: 11px;
    opacity: 0.7;
}
.emp-tag-rm:hover {
    opacity: 1;
}

/* â”€â”€â”€ Filter Card â”€â”€â”€ */
.emp-filter-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
    border: 1.5px solid #f1f5f9;
    overflow: hidden;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.emp-filter-card::-webkit-scrollbar {
    width: 3px;
}
.emp-filter-card::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
.efc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 700;
    font-size: 0.95rem;
}
.efc-clear {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}
.efc-group {
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 20px;
}
.efc-group-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.efc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.efc-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.efc-chip input {
    display: none;
}
.efc-chip:has(input:checked) {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}
.efc-chip:hover {
    border-color: var(--main-color);
}
.efc-check-list {
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.efc-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83rem;
    color: #374151;
    cursor: pointer;
}
.efc-check input[type="checkbox"],
.efc-check input[type="radio"] {
    accent-color: var(--main-color);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.efc-search-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.82rem;
    margin-bottom: 10px;
    outline: none;
}
.efc-search-input:focus {
    border-color: var(--main-color);
}
.efc-apply-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 16px 20px;
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.efc-apply-btn:hover {
    background-color: var(--main-color-hover);
}

/* â”€â”€â”€ Employer Card Modern styling â”€â”€â”€ */
.emp-card-modern {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #f1f5f9;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.emp-card-modern:hover {
    border-color: var(--main-color);
    box-shadow: 0 12px 32px rgba(11, 130, 96, 0.08);
    transform: translateY(-4px);
}
.emp-featured {
    border-color: #f59e0b;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08);
}
.emp-featured-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f59e0b;
    color: #fff;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
}
.emp-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 24px;
    position: relative;
    min-height: 120px;
}
.emp-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    padding: 4px;
}
.emp-verified-dot {
    position: absolute;
    bottom: 18px;
    right: 50%;
    transform: translateX(36px);
    width: 20px;
    height: 20px;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
    border: 2px solid #fff;
}
.emp-body {
    padding: 18px 18px 8px;
    flex: 1;
}
.emp-industry {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}
.emp-name a {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}
.emp-name a:hover {
    color: var(--main-color);
}
.emp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.emp-meta span {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}
.emp-meta span i {
    color: var(--main-color);
    font-size: 0.7rem;
}
.emp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}
.emp-jobs-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--main-color);
    background: rgba(11, 130, 96, 0.08);
    border-radius: 20px;
    padding: 4px 12px;
}
.emp-view-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}
.emp-view-btn:hover {
    color: var(--main-color);
}

/* â”€â”€â”€ Company List View styling â”€â”€â”€ */
.emp-card-modern.list-view {
    flex-direction: row;
    align-items: center;
    padding: 0;
}
.emp-card-modern.list-view .emp-logo-wrap {
    min-height: auto;
    width: 140px;
    padding: 20px;
    flex-shrink: 0;
    border-right: 1px solid #f1f5f9;
}
.emp-card-modern.list-view .emp-body {
    padding: 20px;
}
.emp-card-modern.list-view .emp-footer-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    border-left: 1.5px solid #f1f5f9;
    min-width: 260px;
}
.emp-card-modern.list-view .emp-jobs-badge {
    align-self: flex-end;
}
.emp-card-modern.list-view .emp-actions-wrap {
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    margin-top: 4px;
}
.emp-card-modern.list-view .emp-actions-wrap .btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px !important;
    line-height: 1.1;
    border-radius: 8px;
}

/* Action button styles */
.btn-action,
.btn-action-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-action-sm {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
}
.btn-action:hover,
.btn-action.active,
.btn-action-sm:hover,
.btn-action-sm.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

/* Premium View Switcher & Sort Dropdown Style overrides */
.view-switcher-group {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 3px !important;
    background-color: #f8fafc !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}
.view-toggle-btn {
    border-radius: 8px !important;
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
}
.view-toggle-btn.active {
    background-color: var(--main-color) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(11, 130, 96, 0.15) !important;
}
.view-toggle-btn:hover:not(.active) {
    background-color: #e2e8f0 !important;
    color: var(--main-color) !important;
}
.custom-sort-select {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    padding: 0.45rem 2rem 0.45rem 0.95rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background-position: right 0.75rem center !important;
    background-size: 14px 10px !important;
}
.custom-sort-select:focus {
    border-color: var(--main-color) !important;
    box-shadow: 0 0 0 3px rgba(11, 130, 96, 0.1) !important;
    outline: none !important;
}

/* â”€â”€â”€ Skeleton â”€â”€â”€ */
.emp-skeleton-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    padding: 20px;
}
.sk-logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    margin: 0 auto 16px;
}
.sk-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    margin-bottom: 10px;
}
.w60 {
    width: 60%;
}
.w40 {
    width: 40%;
}
.w80 {
    width: 80%;
}
@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* â”€â”€â”€ Empty State â”€â”€â”€ */
.emp-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1.5px dashed #e2e8f0;
}
.emp-empty-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

/* â”€â”€â”€ Mobile â”€â”€â”€ */
@media (max-width: 992px) {
    #emp-sidebar {
        display: none;
    }
    #emp-sidebar.show {
        display: block;
    }
    .emp-search-bar {
        flex-direction: column;
        border-radius: 12px;
        padding: 12px;
        gap: 10px;
    }
    .esb-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }
    .esb-btn {
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }
    .emp-card-modern.list-view {
        flex-direction: column;
        align-items: stretch;
    }
    .emp-card-modern.list-view .emp-logo-wrap {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 24px;
    }
    .emp-card-modern.list-view .emp-footer-list {
        border-left: none;
        border-top: 1px solid #f1f5f9;
        align-items: center;
        min-width: auto;
    }
}
