/* Container & Wrapper */
.tc-directory-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333333;
}
h1, h2, h3, h4,h5, h6 {
	font-family: 'Cormorant Garamond' !important;
}
/* Filter Bar */
.tc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    align-items: flex-end;
    border: 1px solid #e2e8f0;
}

.tc-filter-group {
    flex: 1;
    min-width: 200px;
}

.tc-filter-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.tc-filter-group input,
.tc-filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    background-color: #ffffff;
    box-sizing: border-box;
}

#tc-search-btn {
    background-color: #0073aa;
    color: #ffffff;
    padding: 11px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#tc-search-btn:hover {
    background-color: #005177;
}

/* Vacancy Card Grid */
.tc-candidate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
    transition: opacity 0.3s ease;
}

.tc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.tc-card-media {
    position: relative;
    height: 200px;
    background-color: #f1f5f9;
    cursor: pointer;
    overflow: hidden;
}

.tc-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-play-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 115, 170, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tc-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #0f172a;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.tc-candidate-id {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 12px;
}

.tc-meta-row {
    font-size: 13px;
    color: #475569;
    margin-bottom: 20px;
}

.tc-divider {
    margin: 0 6px;
    color: #cbd5e1;
}

.tc-card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.tc-btn-about,
.tc-btn-express {
    background: #1f2937;
    color: #fff;
    border-color: #cbd5e1;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.tc-btn-about:hover {
    background: #1f2937;
}

.tc-btn-express {
    background: #4472c4;
    color: #ffffff;
}

.tc-btn-express:hover {
    background: #1d4ed8;
}

/* Modals */
.tc-modal, .tc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tc-modal.active, .tc-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.tc-modal-overlay, .tc-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.tc-modal-dialog {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    border-radius: 12px;
    overflow-y: auto;
    z-index: 2;
    padding: 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.tc-profile-dialog {
    max-width: 680px !important;
}
.tc-modal-close, .tc-lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.tc-modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.tc-modal-job-title {
    margin: 0 0 5px 0;
    font-size: 22px;
    color: #0f172a;
}

.tc-modal-id-row {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

/* 6 Grid Layout */
.tc-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
    background: #F1F4FB;
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.tc-prof-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.tc-prof-icon-badge {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tc-badge-red    { background: #ffffff; }
.tc-badge-indigo { background: #ffffff; }
.tc-badge-purple { background: #ffffff; }
.tc-badge-green  { background: #ffffff; }
.tc-badge-amber  { background: #ffffff; }
.tc-badge-blue   { background: #ffffff; }

.tc-icon {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    display: block;
}

.tc-prof-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.tc-prof-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.tc-prof-val {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    word-break: break-word;
    line-height: 1.3;
}

/* Detailed Content Sections */
.tc-vacancy-text-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tc-v-sec-wrap h4 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.tc-v-sec-wrap p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

/* Formatted Bullet List Styling */
.tc-list-wrap ul {
    margin: 0;
    padding-left: 18px;
    list-style-type: disc;
}
.tc-list-wrap {
	font-size: 14px;
}

.tc-list-wrap li {
    font-size: 13.5px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 5px;
}

.tc-list-wrap li:last-child {
    margin-bottom: 0;
}

/* Subtle A Little Extra Styling */
.tc-extra-subsection {
    margin-top: 15px;
    padding-top: 12px;
}

.tc-extra-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
	font-family: 'Cormorant Garamond', Georgia, serif;
}

.tc-modal-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.tc-btn-close-modal {
    background: #e2e8f0;
    color: #475569;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Video Lightbox */
.tc-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.tc-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.tc-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Load More */
.tc-load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.tc-btn-load-more {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.tc-btn-load-more:hover {
    background: #f8fafc;
}

/* Force dashicons to display on admin menu items */
#adminmenu .wp-menu-image.dashicons-before::before {
    display: block !important;
    visibility: visible !important;
}

/* Card Status Badge Styles for Vacancies */
.tc-card-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffff;
    padding: 5px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.tc-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.tc-status-dot.status-green {
    background-color: #10b981; /* Open to opportunities */
}

.tc-status-dot.status-grey {
    background-color: #6b7280; /* Not actively looking */
}

.tc-status-text {
    font-size: 11px;
    font-weight: 600;
    color: #1f2937;
}


/* Responsive Grid */
@media (max-width: 600px) {
    .tc-profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}