/* Add grid gap for grid view */
.talent-grid-view#talent-search-list {
    gap: 30px;
}

.talent-tile-list .talent-list-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 17px;
}
img.emoji {
	margin-right: 5px !important;
}
/* ...existing code... (keep only one definition per class, remove duplicates) ... */
/* List and Grid View Styles (consolidated) */
.talent-tile-list, .talent-tile-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.5em;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: #fff;
    margin-bottom: 1.5rem;
    gap: 1em;
}
.talent-tile-grid {
    align-items: center;
}
.talent-list-avatar img {
	width: 50px !important;
	height: 40px !important;
	margin-left: 5px !important;
}
.talent-list-img-col, .talent-img-modern, .talent-list-avatar {
    width: 80px;
    height: 80px;
    background: #f2f2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: #1976d2;
}
.talent-list-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.talent-job-title-modern, .talent-job-tit   le-grid {
    color: #111;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 0.5em;
}
.talent-view-details {
    border: 2px solid #1976d2;
    background: #fff;
    color: #1976d2;
    padding: 0.6em 1.2em;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: none;
    font-size: 1em;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.18s;
}
.talent-view-details:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(230,126,34,0.13);
    filter: brightness(1.04);
}
.talent-request-candidate {
	background: #1976d2;
	color: #fff;
	border: 2px solid #1976d2;
	font-weight: 600;
	font-size: 12px;
	padding: 5px 5px;
	border-radius: 8px;
	margin-top: 1em;
	text-align: center;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.18s;
	line-height: 20px;
}
.talent-request-candidate:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(230,126,34,0.13);
    filter: brightness(1.04);
}
.talent-list-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 0.7em 0;
}
.talent-list-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
.talent-list-info-col {
    flex: 1;
}
.talent-list-label {
    color: #888;
    font-size: 1em;
}
.talent-list-value {
    font-size: 0.95em;
    color: #1976d2;
}
.talent-badge {
    display: inline-block;
    background: #1976d2;
    color: #fff;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.85em;
    margin: 0 2px 2px 0;
}
.talent-avatar-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eee;
    color: #1976d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0.5em;
}
@media (max-width: 600px) {
    .talent-tile-list, .talent-tile-grid { padding: 1em 0.5em; }
    .talent-img, .talent-avatar-fallback { width: 56px; height: 56px; }
    .talent-popup {
        max-width: 98vw;
        min-width: 0;
        padding: 1em 0.5em 1em 0.5em;
    }
}


/* Popup overlay and container styles for proper display */
.talent-popup-overlay {
    cursor: pointer;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 99998;
    display: block;
    opacity: 1;
    transition: opacity 0.2s;
}
.talent-popup {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-radius: 12px;
    z-index: 99999;
    width: 70vw;
    min-width: 320px;
    padding: 1.2em 1.2em 1em 1.2em;
    overflow-y: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.talent-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2em;
    color: #888;
    cursor: pointer;
    z-index: 100000;
}
