/* ==========================================================================
   TooConnect Candidates - Exact UI & Layout Match
   ========================================================================== */

.tc-directory-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2b2b2b;
    box-sizing: border-box;
}

.tc-directory-wrapper *,
.tc-directory-wrapper *::before,
.tc-directory-wrapper *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4,h5, h6 {
	font-family: 'Cormorant Garamond' !important;
}

/* --------------------------------------------------------------------------
   1. Filter Bar
   -------------------------------------------------------------------------- */
.tc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.tc-filter-group {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

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

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

#tc-cand-search-btn {
    padding: 11px 24px;
    background-color: #4b6cb7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    height: 42px;
    transition: background-color 0.2s ease;
}

#tc-cand-search-btn:hover {
    background-color: #3b5998;
}

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

.tc-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.tc-card-media {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #1a1a1a;
    cursor: pointer;
    overflow: hidden;
}

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

.tc-play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tc-play-icon {
    width: 50px;
    height: 50px;
    background: #5069af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.tc-card-media:hover .tc-play-icon {
    transform: scale(1.08);
    background: #415796;
}

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

.tc-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #0d141e;
}

.tc-candidate-id {
    font-size: 13px;
    color: #828a96;
    margin-bottom: 18px;
    font-weight: 500;
}

.tc-meta-row {
    font-size: 13.5px;
    color: #555e6d;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
}

.tc-divider {
    color: #d1d5db;
}

.tc-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

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

.tc-btn-about {
    background-color: #212835;
    color: #ffffff;
}

.tc-btn-about:hover {
    background-color: #171d27;
}

.tc-btn-express {
    background-color: #5b6ebd;
    color: #ffffff;
}

.tc-btn-express:hover {
    background-color: #4a5ca8;
}

.tc-load-more-wrap {
    text-align: center;
    margin-top: 35px;
}

.tc-btn-load-more {
    padding: 12px 32px;
    background-color: #1f2937 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.tc-btn-load-more:hover {
    background-color: #4a5ca8;
}

/* --------------------------------------------------------------------------
   3. Modal Popups & Specific Widths
   -------------------------------------------------------------------------- */
.tc-modal, 
.tc-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.tc-modal-overlay, 
.tc-lightbox-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

.tc-modal-dialog {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    max-width: 500px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    padding: 35px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    height: auto !important;
}
/* Express Interest Modal Width (Requirement 2) */
#tc-express-modal .tc-modal-dialog {
    max-width: 500px;
}

.tc-lightbox-content {
    position: relative;
    max-width: 800px;
    width: 90%;
    background: #000000;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    z-index: 2;
}

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

.tc-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.tc-modal-close, 
.tc-lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    color: #666666;
    transition: color 0.15s ease;
}

.tc-modal-close:hover {
    color: #000000;
    color: #fff !important;
}

.tc-lightbox-close {
    color: #ffffff;
    top: -35px; right: 0;
}

/* Modal Headers & Borders (Requirement 1) */
.tc-modal-header {
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb; /* Top Border Line */
}

.tc-modal-header h3 {
    margin: 0 0 6px 0;
    font-family: 'Cormorant Garamond' !important;
    font-size: 28px;
    font-weight: 500;
    color: #111111;
}

.tc-modal-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.tc-highlight-id {
    color: #5b6ebd;
    font-weight: 700;
}

/* 2-Column Grid for Profile Modal */
.tc-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 30px;
    padding: 20px 0;
	background: #F1F4FB;
}

.tc-prof-item {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #4b5563;
}

.tc-prof-item strong {
    font-size: 11px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

/* Modal Footer & Borders (Requirement 1) */
.tc-modal-footer {
    padding-top: 20px;
    border-top: 1px solid #e5e7eb; /* Bottom Border Line */
    display: flex;
    justify-content: flex-end;
}

.tc-modal-footer .tc-btn-express {
    width: auto;
    padding: 12px 28px;
}

/* Form Styles inside Express Modal */
.tc-modal-body form p {
    margin-bottom: 15px;
}

.tc-modal-body label {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.tc-modal-body input[type="text"],
.tc-modal-body input[type="email"],
.tc-modal-body input[type="tel"],
.tc-modal-body textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.tc-modal-body input:focus,
.tc-modal-body textarea:focus {
    border-color: #5b6ebd;
}

.tc-modal-body input[type="submit"],
.tc-modal-body .wpcf7-submit {
    width: 100%;
    padding: 13px;
    background-color: #4a6fa5;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Cormorant Garamond';
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}

.tc-modal-body input[type="submit"]:hover,
.tc-modal-body .wpcf7-submit:hover {
    background-color: #3b5a88;
}


[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #1f2937;
}


/* Card Status Badge Styles */
.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 Styles */
@media (max-width: 600px) {
    .tc-profile-grid {
        grid-template-columns: 1fr;
    }
    .tc-modal-dialog {
        padding: 25px 20px;
    }
}