/* Avatar Modal Styles */
.avatar-modal-content {
    max-width: 500px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.avatar-modal-content h3 {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.avatar-modal-content p {
    color: #6c757d;
    margin-bottom: 25px;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.avatar-option {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.avatar-option i {
    font-size: 32px;
    color: var(--primary-dark);
    transition: all 0.2s ease;
}

.avatar-option:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.avatar-option.selected {
    background: rgba(74, 144, 226, 0.15);
    border-color: var(--primary-blue);
}

.avatar-option.selected i {
    color: var(--primary-blue);
}

/* Scrollbar for grid */
.avatar-grid::-webkit-scrollbar {
    width: 6px;
}

.avatar-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.avatar-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.avatar-grid::-webkit-scrollbar-thumb:hover {
    background: #999;
}