/* Talent Network Page Styles */

/* Modern Circular Card Styles */
.talent-card {
    transition: all 0.35s ease;
    margin-bottom: 30px;
}

.talent-card-inner {
    height: auto;          /* let the card grow with content */
    max-height: none;
    min-height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    padding: 25px 25px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: visible;
    text-align: center;
    transition: all 0.35s ease;

}

.talent-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(44, 107, 224, 0.15);
}

.talent-image-wrapper {
    overflow: hidden;
    position: relative;
}

.talent-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.35s ease;
}

.talent-card-inner:hover .talent-image {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(44, 107, 224, 0.2);
    border-color: #f0f4ff;
}

.talent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.talent-info {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    flex: unset;
    display: block;
    flex-direction: column;
}

.talent-name {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.talent-name a {
    color: #10343B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.talent-name a:hover {
    color: #86B03C;
}

.talent-title {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.talent-tags-wrapper {
    display: flex;
}

.talent-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    /*height: 10px;*/
    margin: 10px 0;
}

.talent-tag {
    background-color: #f0f4ff;
    color: #10343B;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    display: inline-block;
}

.talent-action {
    margin-top: auto;
}

.view-profile-btn {
    display: inline-block;
    background-color: #86B03C;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(134, 176, 60, 0.2);
}

.view-profile-btn:hover {
    background-color: #10343B;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 52, 59, 0.3);
    color: white;
}

.plan-badge {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 22px;
    z-index: 10;
}

.badge-icon {
    height: 25px;
    width: 25px;
}

.talent-filter {
    padding: 15px;
    margin-bottom: 20px;
    background: #5f9ea0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.filter-form {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.search-input-dropdown {
    min-width: 180px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    cursor: pointer;
    display: none;
}
.talent-skill-tag {
    display: inline-block;
    margin: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f1f1f1;
    font-size: 14px;
}

.hidden {
    display: none;
}

.show-more-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 6px;
    color: #007bff;
}

/* Button */
.search-submit-btn {
    background: #86B03C;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.search-submit-btn:hover {
    background-color: #10343B;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 52, 59, 0.3);
}

.talent-tags-ellipsis {
    max-height: 36px; /* collapsed: ~1 line */
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.talent-tags-ellipsis.expanded {
    max-height: 999px; /* large enough to fit all */
}

.show-more-btn {
    display: none; /* hidden by default */
    font-size: 13px;
    color: #007bff;
    cursor: pointer;
    margin-top: 4px;
    background: none;
    border: none;
}

.talent-skill-tag {
    background: #f1f1f1;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 📱 Responsive adjustments */
@media (max-width: 768px) {
    .filter-form {
        flex-wrap: wrap;
        gap: 10px;
    }

    .search-input-dropdown,
    .search-input-field,
    .search-submit-btn {
        flex: 1 1 100%;
    }

    .search-submit-btn {
        text-align: center;
    }
}


/* Responsive styles */
@media (max-width: 991px) {
    .talent-image {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 767px) {
    .talent-card-inner {
        padding: 25px 15px;
    }
    
    .talent-image {
        width: 120px;
        height: 120px;
    }
    
    .talent-name {
        font-size: 18px;
    }
    
    .talent-title {
        font-size: 10px;
    }
    
    .talent-tag {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .view-profile-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Card Styles (legacy) */
.team1-box {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    position: relative;
    height: 100%;
}

.team1-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hover-shadow-1:hover {
    box-shadow: 0 10px 20px rgba(44, 107, 224, 0.2);
}

/* Image area styles */
.team1-box .image-area {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.team1-box .image {
    height: 100%;
    transition: all 0.5s ease;
}

.team1-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team1-box:hover .image img {
    transform: scale(1.05);
}

/* Overlay and button styles */
.team1-box .overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.6));
    opacity: 0;
    transition: all 0.3s ease;
}

.team1-box:hover .overlay-bg {
    opacity: 1;
}

.team1-box .view-profile-btn {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.team1-box:hover .view-profile-btn {
    bottom: 20px;
    opacity: 1;
}

.team1-box .theme-btn3.btn-sm {
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 5px;
}

/* Content styles */
.team1-box .text-content {
    padding: 20px;
    transition: all 0.3s ease;
}

.team1-box:hover .text-content {
    background-color: #f8f9fa;
}

.talent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.talent-tags .badge {
    font-size: 12px;
    font-weight: normal;
    padding: 5px 10px;
    background-color: #f0f2f5;
    color: #2c6be0;
    border: 1px solid #e0e5f2;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination .page-item .page-link {
    border-radius: 5px;
    color: #2c6be0;
    font-weight: 500;
    padding: 8px 15px;
    border: 1px solid #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #86B03C;
    border-color: #86B03C;
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* For Bootstrap pagination compatibility */
.pagination li span {
    display: inline-block;
    padding: 8px 15px;
}

.pagination li.active span {
    background-color: #2c6be0;
    color: white;
    border-radius: 5px;
    border: 1px solid #2c6be0;
}

/* Empty state */
.alert-info {
    background-color: #e1f5fe;
    color: #0288d1;
    border-color: #b3e5fc;
    padding: 15px 20px;
    border-radius: 5px;
} 