/* ==========================================================================
   Company Board Styles & Skeleton Loaders (White Canvas & Gold Theme)
   ========================================================================== */

/* ── Shimmer Base ──────────────────────────────────────── */
.sk {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 400% 100%;
    animation: sk-shimmer 1.6s ease-in-out infinite;
    border-radius: 6px;
}

@keyframes sk-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.sk-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
}

.sk-filter-card .sk-title {
    height: 14px;
    width: 40%;
    margin-bottom: 18px;
}

.sk-company-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    height: 100%;
}

.sk-company-list-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 16px;
}

/* ── Modern Company Card Styles (3-in-a-row optimized) ── */
.company-board-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
    height: 100%;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    text-align: left !important;
    gap: 0 !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    position: relative;
    width: 100%;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.company-board-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 0 16px rgba(239, 192, 60, 0.15);
    border-color: rgba(239, 192, 60, 0.6);
}

.company-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 10px;
    width: 100%;
}

.company-avatar-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
}

.company-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.company-avatar-initials {
    font-size: 1.15rem;
    font-weight: 700;
    color: #9a6800;
    background: rgba(239, 192, 60, 0.15);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-title-link {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.company-title-link:hover {
    color: #d99b11;
}

.company-card-desc {
    font-size: 0.81rem;
    line-height: 1.45;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.85em;
    margin-bottom: 8px;
    text-align: left !important;
}

.company-location-row {
    font-size: 0.77rem;
    color: #64748b;
    margin-bottom: 8px;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.company-tags-row {
    min-height: 24px;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.company-tag-pill {
    display: inline-block;
    font-size: 0.69rem;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    border-radius: 6px;
    padding: 2px 7px;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    line-height: 1.4;
}

.company-tag-more {
    background: rgba(239, 192, 60, 0.15);
    color: #9a6800;
    font-weight: 600;
    border-color: rgba(239, 192, 60, 0.35);
}

.company-footer-row {
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    margin-top: 12px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* ── Redesigned List Item ──────────────────────────────── */
.company-list-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.company-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 0 16px rgba(239, 192, 60, 0.15);
    border-color: rgba(239, 192, 60, 0.6);
}

.company-openings-badge {
    background: rgba(239, 192, 60, 0.15);
    color: #9a6800;
    border: 1px solid rgba(239, 192, 60, 0.35);
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.company-openings-badge.zero {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
}
