/* Talents Info Styles */
#talents-info {
    min-width: 50%;
    background-color: var(--bg-color-light);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 20px 20px;
    padding: 20px;
}

.talents-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.talents-title {
    text-align: center;
    margin: 0;
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
}

.project-name {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.project-name p {
    margin: 0;
    color: var(--text-color-secondary);
    font-size: 16px;
}

.project-name span {
    color: var(--primary-color);
    font-weight: 600;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: var(--primary-color) 0px 4px 15px;
}

.member-avatar {
    flex-shrink: 0;
}

.member-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    transition: var(--transition);
}

.member-card:hover .member-avatar img {
    border-color: var(--text-color);
    transform: scale(1.05);
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.member-name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-login {
    margin: 0;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.navigation-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px 10px;
    gap: 20px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: "Alegreya Sans", serif;
}

.nav-btn:hover {
    box-shadow: var(--primary-color) 1px 1px 10px;
    transform: scale(1.05);
}

.nav-btn:active {
    transform: scale(0.98);
}

.nav-btn i {
    font-size: 14px;
}

.group-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.page-input {
    width: 60px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    padding: 5px;
    font-family: "Alegreya Sans", serif;
    transition: var(--transition);
}

.page-input:focus {
    outline: none;
    border-color: var(--text-color);
    box-shadow: var(--primary-color) 0px 0px 8px;
}

.page-input::-webkit-inner-spin-button,
.page-input::-webkit-outer-spin-button {
    opacity: 1;
}

.page-separator {
    color: var(--text-color-secondary);
}

.total-pages {
    color: var(--primary-color);
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--text-color-secondary);
    font-size: 18px;
}

/* Avatar Modal Styles */
.avatar-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-color-light);
    padding: 40px;
    border-radius: 15px;
    max-width: 90%;
    max-height: 90%;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-color);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

#modal-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    object-fit: cover;
    box-shadow: var(--primary-color) 0px 0px 30px;
}

.modal-info {
    text-align: center;
}

.modal-info h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
}

.modal-info p {
    margin: 0;
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: 1fr;
    }

    .navigation-controls {
        flex-direction: column;
        gap: 15px;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }

    .talents-title {
        font-size: 24px;
    }

    #modal-avatar {
        width: 250px;
        height: 250px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-info h3 {
        font-size: 24px;
    }

    .modal-info p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    #modal-avatar {
        width: 200px;
        height: 200px;
    }

    .page-input {
        width: 50px;
        font-size: 16px;
    }
}