/* Super Soldier Battle - Edit Profile Styles */

#ssb-edit-profile-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    background: rgba(0, 0, 0, 0.95) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    padding: 20px !important;
    margin: 0 !important;
    animation: ssbFadeIn 0.3s ease;
}

@keyframes ssbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ssb-edit-box {
    background: linear-gradient(135deg, #0a0b1a, #1a1b3f) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    border-radius: 20px !important;
    padding: 40px 30px !important;
    max-width: 420px !important;
    min-width: 320px !important;
    width: 100% !important;
    text-align: center !important;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 auto !important;
    position: relative !important;
}

.ssb-edit-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.5rem;
    color: #00d4ff;
    margin: 0 0 10px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.ssb-edit-subtitle {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-shadow: none;
}

.ssb-input {
    background: rgba(10, 10, 26, 0.8);
    border: 2px solid #555;
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 1rem;
    width: 100%;
    max-width: 250px;
    text-align: center;
    margin: 10px auto;
    display: block;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ssb-input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.ssb-avatar-grid {
    display: grid;
    grid-template-columns: repeat(6, 50px);
    gap: 10px;
    justify-content: center;
    margin: 16px 0;
}

.ssb-avatar-option {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    border-radius: 50%;
    border: 3px solid #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 26, 0.8);
    transition: all 0.2s;
    min-width: 50px;
    max-width: 50px;
    margin: 0;
    padding: 0;
    text-shadow: none;
}

.ssb-avatar-option:hover {
    border-color: #00d4ff;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.ssb-avatar-option.selected {
    border-color: #39ff14;
    background: rgba(57, 255, 20, 0.1);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.ssb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 150px;
    padding: 14px 24px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
    box-sizing: border-box;
    white-space: nowrap;
    min-width: 150px;
    text-shadow: none;
}

.ssb-btn:hover {
    transform: scale(1.03);
}

.ssb-btn-primary {
    color: #00d4ff;
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3), inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.ssb-btn-primary:hover {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.ssb-btn-secondary {
    color: #aaa;
    border-color: #555;
}

.ssb-btn-secondary:hover {
    border-color: #888;
    color: #fff;
}

@media (max-width: 480px) {
    .ssb-edit-box {
        padding: 28px 20px;
    }

    .ssb-edit-title {
        font-size: 1.2rem;
    }

    .ssb-avatar-grid {
        grid-template-columns: repeat(4, 48px);
    }

    .ssb-avatar-option {
        width: 48px;
        height: 48px;
        min-width: 48px;
        max-width: 48px;
        font-size: 1.6rem;
    }
}
