/* AvatarPicker.css */
.avatar-picker-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    /*background: inherit;*/
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.avatar-picker-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.avatar-picker {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    /*background: linear-gradient(90deg, #f0f2f5 0%, #e3e9f7 100%);*/
}

.avatar-slider {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
    gap: 20px;
    width: fit-content;
}

.avatar-item {
    flex: 0 0 85px;
    height: 85px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.4s, border 0.4s;
    background-color: #e1e1e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
    position: relative;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1), filter 0.4s;
}

.avatar-item:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    z-index: 2;
}

.avatar-item:hover img {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.05) saturate(1.1);
}

.avatar-item.selected {
    border: 4px solid #2196F3;
    box-shadow: 0 4px 24px 0 rgba(33, 150, 243, 0.18), 0 2px 8px rgba(0,0,0,0.10);
    background: rgba(33, 150, 243, 0.06);
    transform: scale(1.10);
    z-index: 2;
    transition: 
        border-color 0.35s cubic-bezier(0.33, 1, 0.68, 1),
        box-shadow 0.5s cubic-bezier(0.33, 1, 0.68, 1),
        background 0.4s cubic-bezier(0.33, 1, 0.68, 1),
        transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    animation: pulseShadow 1.8s cubic-bezier(0.33, 1, 0.68, 1) infinite alternate;
}

@keyframes pulseShadow {
    0% { box-shadow: 0 4px 24px 0 rgba(33, 150, 243, 0.18), 0 2px 8px rgba(0,0,0,0.10); }
    100% { box-shadow: 0 8px 32px 0 rgba(33, 150, 243, 0.28), 0 2px 16px rgba(0,0,0,0.13); }
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 18px;
    color: #333;
    z-index: 2;
    transition: background-color 0.2s ease;
}

.nav-btn:hover {
    background-color: #f0f0f0;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.selected-avatar {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

@media (hover: none) {
    .nav-btn {
        width: 44px;
        height: 44px;
    }
    .avatar-item {
        flex: 0 0 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .avatar-picker-container {
        padding: 15px;
    }
    .avatar-item {
        flex: 0 0 80px;
        height: 80px;
        font-size: 32px;
    }
    .nav-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
} 