/* =============================================
   AUTH REGISTER PAGE STYLES
   ============================================= */

/* Avatar Selector Button - Game Theme */
.avatar-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(120, 90, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.25s ease;
    cursor: pointer;
}

.avatar-selector-btn:hover {
    outline: none;
    background: rgba(0, 0, 0, 0.3);
    border-color: #3ddcff;
    box-shadow: 0 0 15px rgba(61, 220, 255, 0.3), inset 0 0 10px rgba(0, 212, 255, 0.05);
}

.current-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.avatar-selector-text {
    flex: 1;
    text-align: left;
    color: rgba(255, 255, 255, 0.4);
}

.avatar-selector-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.avatar-selector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.avatar-option {
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.avatar-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.avatar-option:hover {
    border-color: var(--neon-cyan);
    transform: scale(1.1);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.avatar-option:hover img {
    transform: scale(1.05);
}

.avatar-option.selected {
    border-color: var(--neon-cyan);
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
}

.avatar-option.selected::after {
    content: '\2713';
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--neon-cyan);
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid #000;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

@media (max-width: 480px) {
    .avatar-selector-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 360px) {
    .avatar-selector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}